Hi,

In <e0895d7ba98f69fd41ca044cd081b50d / ruby-forum.com>
  "test-unit 2.5.5 and @test_passed" on Wed, 12 Feb 2014 17:01:08 +0100,
  Mario Ruiz <lists / ruby-forum.com> wrote:

> how can i know in the teardown of a testcases if the testcase passed or
> not?
> 
> in ruby 1.8.7 i was using the boolean property @test_passed but it seems
> it is not available anymore

You can use #passed? method:
  http://rubydoc.info/gems/test-unit/Test/Unit/TestCase#passed%3F-instance_method


Thanks,
--
kou