class

Test::Unit::TestResult

v1_8_6_287 - Show latest stable - Superclass: Object

Collects <a href="/ruby/Test/Unit/Failure">Test::Unit::Failure</a> and Test::Unit::Error so that they can be displayed to the user. To this end, observers can be added to it, allowing the dynamic updating of, say, a UI.

Included modules

  • Util::Observable

Constants

CHANGED = "CHANGED"

FAULT = "FAULT"

Attributes

[R]assertion_count
[R]run_count

Files

  • lib/test/unit/testresult.rb