Class: ParallelTests::RSpec::SummaryLogger
- Inherits:
-
LoggerBase
- Object
- LoggerBase
- ParallelTests::RSpec::SummaryLogger
- Defined in:
- lib/parallel_tests/rspec/summary_logger.rb
Constant Summary
Constants inherited from LoggerBase
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 LoggerBase
#close, #initialize, #lock_output
Constructor Details
This class inherits a constructor from ParallelTests::RSpec::LoggerBase
Instance Method Details
#dump_failure(*args) ⇒ Object
RSpec 1: dumps 1 failed spec
5 6 7 8 9 10 |
# File 'lib/parallel_tests/rspec/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_tests/rspec/summary_logger.rb', line 13 def dump_failures(*args) lock_output do super end @output.flush end |