Class: UnitdiffFormatter
- Inherits:
-
DottedFormatter
- Object
- DottedFormatter
- UnitdiffFormatter
- Defined in:
- lib/extensions/mspec/mspec/runner/formatters/unit.rb
Instance Attribute Summary
Attributes inherited from DottedFormatter
Instance Method Summary collapse
Methods inherited from DottedFormatter
#abort, #after, #before, #exception, #exception?, #failure?, #initialize, #print, #register
Constructor Details
This class inherits a constructor from DottedFormatter
Instance Method Details
#finish ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/extensions/mspec/mspec/runner/formatters/unit.rb', line 5 def finish print "\n\n#{@timer.format}\n" count = 0 @exceptions.each do |exc| outcome = exc.failure? ? "FAILED" : "ERROR" print "\n#{count += 1})\n#{exc.description} #{outcome}\n" print exc., ": \n" print exc.backtrace, "\n" end print "\n#{@tally.format}\n" end |