Go to Google Groups Home    ruby-talk-google
MiniTest & Test::Unit::TestResult in Ruby 1.9.1

James Mead <jamesmea...@gmail.com>

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