Method: Minitest::StatisticsReporter#record
- Defined in:
- lib/minitest.rb
#record(result) ⇒ Object
:nodoc:
499 500 501 502 503 504 |
# File 'lib/minitest.rb', line 499 def record result # :nodoc: self.count += 1 self.assertions += result.assertions results << result if not result.passed? or result.skipped? end |