Records a Test::Unit::Failure.
# File lib/test/unit/failure.rb, line 107 def add_failure(failure) @failures << failure notify_fault(failure) notify_changed end
Returns the number of failures this TestResult has recorded.
# File lib/test/unit/failure.rb, line 115 def failure_count @failures.size end
Generated with the Darkfish Rdoc Generator 2.