Records a Test::Unit::Error.
# File lib/test/unit/error.rb, line 122 def add_error(error) @errors << error notify_fault(error) notify_changed end
Returns the number of errors this TestResult has recorded.
# File lib/test/unit/error.rb, line 130 def error_count @errors.size end
Generated with the Darkfish Rdoc Generator 2.