Class: Betatest::ProgressReporter
- Inherits:
-
Reporter
- Object
- AbstractReporter
- Reporter
- Betatest::ProgressReporter
- Defined in:
- lib/betatest.rb
Overview
A very simple reporter that prints the “dots” during the run.
This is added to the top-level CompositeReporter at the start of the run. If you want to change the output of betatest via a plugin, pull this out of the composite and replace it with your own.
Instance Attribute Summary
Attributes inherited from Reporter
Instance Method Summary collapse
-
#record(result) ⇒ Object
:nodoc:.
Methods inherited from Reporter
Methods inherited from AbstractReporter
Constructor Details
This class inherits a constructor from Betatest::Reporter
Instance Method Details
#record(result) ⇒ Object
:nodoc:
453 454 455 456 457 458 |
# File 'lib/betatest.rb', line 453 def record result # :nodoc: io.print "%s#%s = %.2f s = " % [result.class, result.name, result.time] if [:verbose] io.print result.result_code io.puts if [:verbose] end |