#471 √ invalid
Le Huy

[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

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 »

People watching this ticket

Tags