Class: ParallelTests::RSpec::FailuresLogger
- Inherits:
-
LoggerBase
- Object
- RSpec::Core::Formatters::BaseTextFormatter
- LoggerBase
- ParallelTests::RSpec::FailuresLogger
- Defined in:
- lib/parallel_tests/rspec/failures_logger.rb
Instance Method Summary collapse
Methods inherited from LoggerBase
Constructor Details
This class inherits a constructor from ParallelTests::RSpec::LoggerBase
Instance Method Details
#dump_summary(*args) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/parallel_tests/rspec/failures_logger.rb', line 8 def dump_summary(*args) lock_output do notification = args.first unless notification.failed_examples.empty? colorizer = ::RSpec::Core::Formatters::ConsoleCodes output.puts notification.colorized_rerun_commands(colorizer) end end @output.flush end |