Collects Test::Unit::Failure 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.
Constructs a new, empty TestResult.
Records a test run.
Records a Test::Unit::Failure.
Records a Test::Unit::Error.
Records an individual assertion.
Returns a string contain the recorded runs, assertions, failures and errors in this TestResult.
Returns whether or not this TestResult represents successful completion.
Returns the number of failures this TestResult has recorded.
Returns the number of errors this TestResult has recorded.