aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/ruby.scm29
1 files changed, 28 insertions, 1 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 6f607629b1..514a82f7a0 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1384,6 +1384,33 @@ use GNU gettext tools for maintenance.")
(home-page "http://ranguba.org/packnga/")
(license license:lgpl2.0+)))
+(define-public ruby-test-unit-2
+ (package
+ (name "ruby-test-unit")
+ (version "2.5.5")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "test-unit" version))
+ (sha256
+ (base32
+ "0iwxfzhdc9x4d9x2vhximgr2vlbk0a7zlwq5ir1lr5lk89cdc5ij"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:tests? #f))
+ (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 "https://test-unit.github.io/")
+ (license (list license:psfl license:ruby))))
+
(define-public ruby-test-unit
(package
(name "ruby-test-unit")
@@ -2726,7 +2753,7 @@ a native C extension.")
`(("bundler" ,bundler)
("ragel" ,ragel)
("ruby-simplecov" ,ruby-simplecov)
- ("ruby-test-unit" ,ruby-test-unit)))
+ ("ruby-test-unit" ,ruby-test-unit-2)))
(synopsis "JSON implementation in pure Ruby")
(description
"This package provides a JSON implementation written in pure Ruby.")