[PATCH] add complete implementation of test/unit
Reported by Le Huy | April 4th, 2008 @ 03:36 AM | in 1.0 preview
on mri
$irb
irb(main):001:0> require 'test/unit'
=> true
irb(main):002:0> Test::Unit::Assertions
=> Test::Unit::Assertions
irb(main):003:0> Test::Unit::constants
=> ["AutoRunner", "AssertionFailedError", "Error", "Util", "Failure", "Assertions", "TestCase", "UI", "TestSuite"]
irb(main):004:0> exit
on rubinius
$rbx
irb(main):001:0> require 'test/unit'
=> true
irb(main):002:0> Test::Unit::Assertions
NameError: Missing or uninitialized constant: Assertions
from Module(Class)#const_missing at kernel/core/module.rb:663
from Object#irb_binding {} at (irb):2
irb(main):003:0> Test::Unit
=> MiniTest::Unit
irb(main):004:0> Test::Unit::constants
=> ["TestCase", "VERSION"]
irb(main):005:0> exit
Comments and changes to this ticket
-
Eero Saynatkari April 4th, 2008 @ 04:00 AM
- → State changed from new to open
Looks this is by design: we support miniunit rather than Test::Unit. See commit f09ec964.
Is there something in particular that you need from Test::Unit beyond what miniunit has? We should be able to add it or, if need be, Test::Unit could be reinstated.
-
Le Huy April 4th, 2008 @ 05:10 AM
- → Title changed from incomplete implementation of test/unit to [PATCH] add complete implementation of test/unit
-
Le Huy April 4th, 2008 @ 05:12 AM
I am trying to run flexmock's and rake testsuite to verify rubinius, they complete test/unit lib
-
Eric Hodel April 4th, 2008 @ 01:37 PM
- → Assigned user changed from to Ryan Davis
-
Ryan Davis April 4th, 2008 @ 02:02 PM
- → State changed from open to invalid
Sorry, but I'm going to reject this one. I'll talk to Jim about flexmock and getting it to work with miniunit.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
