Class: ParallelSpecs::SpecSummaryLogger
- Inherits:
-
SpecLoggerBase
- Object
- SpecLoggerBase
- ParallelSpecs::SpecSummaryLogger
- Defined in:
- lib/parallel_specs/spec_summary_logger.rb
Constant Summary
Constants inherited from SpecLoggerBase
ParallelSpecs::SpecLoggerBase::RSPEC_1
Instance Method Summary collapse
-
#dump_failure(*args) ⇒ Object
RSpec 1: dumps 1 failed spec.
-
#dump_failures(*args) ⇒ Object
RSpec 2: dumps all failed specs.
Methods inherited from SpecLoggerBase
#close, #dump_pending, #dump_summary, #initialize, #lock_output
Constructor Details
This class inherits a constructor from ParallelSpecs::SpecLoggerBase
Instance Method Details
#dump_failure(*args) ⇒ Object
RSpec 1: dumps 1 failed spec
5 6 7 8 9 10 |
# File 'lib/parallel_specs/spec_summary_logger.rb', line 5 def dump_failure(*args) lock_output do super end @output.flush end |
#dump_failures(*args) ⇒ Object
RSpec 2: dumps all failed specs
13 14 15 16 17 18 |
# File 'lib/parallel_specs/spec_summary_logger.rb', line 13 def dump_failures(*args) lock_output do super end @output.flush end |