Class: DTR::OriginalTestReports
- Inherits:
-
Object
- Object
- DTR::OriginalTestReports
- Defined in:
- lib/dtr/drb_dtr.rb
Instance Method Summary collapse
Instance Method Details
#failures_and_errors ⇒ Object
30 31 32 |
# File 'lib/dtr/drb_dtr.rb', line 30 def failures_and_errors collect(reports.collect{|r|r.stdout}) end |
#reports ⇒ Object
26 27 28 |
# File 'lib/dtr/drb_dtr.rb', line 26 def reports @reports ||= [] end |
#summary_of(report) ⇒ Object
21 22 23 24 |
# File 'lib/dtr/drb_dtr.rb', line 21 def summary_of(report) reports << report convert_to_str(report.successes, '.') + convert_to_str(report.failures, 'F') + convert_to_str(report.errors, 'E') end |