From 3383f5bdab4a7913e561e7c529f55caa395c4cab Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 20 Nov 2015 12:11:39 +0100 Subject: gnu: Add ruby-test-unit. * gnu/packages/ruby.scm (ruby-test-unit): New variable. --- gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index a90526c88e..6753a2d0e0 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1062,6 +1062,31 @@ (define-public ruby-packnga (home-page "http://ranguba.org/packnga/") (license license:lgpl2.0+))) +(define-public ruby-test-unit + (package + (name "ruby-test-unit") + (version "3.1.5") + (source (origin + (method url-fetch) + (uri (rubygems-uri "test-unit" version)) + (sha256 + (base32 + "0jxznjzwmrlp8wqjxsd06qbiddffn68pdhz6nrqpjbiln1z3af4w")))) + (build-system ruby-build-system) + (propagated-inputs + `(("ruby-power-assert" ,ruby-power-assert))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-packnga" ,ruby-packnga) + ("ruby-yard" ,ruby-yard))) + (synopsis "Unit testing framework for Ruby") + (description "@code{Test::Unit} is unit testing framework for Ruby, based +on xUnit principles. These were originally designed by Kent Beck, creator of +extreme programming software development methodology, for Smalltalk's SUnit. +It allows writing tests, checking results and automated testing in Ruby.") + (home-page "http://test-unit.github.io/") + (license (list license:psfl license:ruby)))) + (define-public ruby-minitest (package (name "ruby-minitest") -- cgit v1.2.3