MiniTest & Test::Unit::TestResult in Ruby 1.9.1

J

James Mead

[Note: parts of this message were removed to make it a legal post.]

It looks like Test::Unit::TestResult [1] has disappeared in Ruby 1.9.1. Is
this correct?

In fact, it looks like requiring 'test/unit' now just gets you a thin
wrapper around MiniTest. Is this correct?

In Mocha's acceptance tests we currently use Test::Unit to run tests within
tests [2] and Test::Result gives us access to the errors and failures that
occurred within the inner test. This gives us clean looking tests like
ParameterMatcherTest [3].
--
James.
http://blog.floehopper.org

[1] http://is.gd/hwZb
[2] http://is.gd/hwYM
[3] http://is.gd/hx14
 
J

James Gray

It looks like Test::Unit::TestResult [1] has disappeared in Ruby
1.9.1. Is
this correct?

In fact, it looks like requiring 'test/unit' now just gets you a thin
wrapper around MiniTest. Is this correct?

This is correct. Test::Unit has been retired.

James Edward Gray II
 
T

Trans

It looks like Test::Unit::TestResult [1] has disappeared in Ruby =A0
1.9.1. Is
this correct?
In fact, it looks like requiring 'test/unit' now just gets you a thin
wrapper around MiniTest. Is this correct?

This is correct. =A0Test::Unit has been retired.

Retired? I beleive it is still an active project, only it is now a
separate install.

T.
 
J

James Gray

It looks like Test::Unit::TestResult [1] has disappeared in Ruby
1.9.1. Is
this correct?
In fact, it looks like requiring 'test/unit' now just gets you a
thin
wrapper around MiniTest. Is this correct?

This is correct. Test::Unit has been retired.

Retired? I beleive it is still an active project, only it is now a
separate install.

Yeah, my bad. I should have said it has been retired as a standard
library.

James Edward Gray II
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top