Class: TurboTests::Flaky::FailuresLoggerFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/turbo_tests/flaky/failures_logger_formatter.rb

Overview

This class is responsible for logging the failed examples in JSON format with the necessary debugging information to debug the test failures. See ‘TurboTests::Flaky::FailedExample#to_h` for the debugging information that we log.

Instance Method Summary collapse

Instance Method Details

#dump_summary(notification, _timings) ⇒ Object



8
9
10
# File 'lib/turbo_tests/flaky/failures_logger_formatter.rb', line 8

def dump_summary(notification, _timings)
  Manager.log_potential_flaky_tests(notification.failed_examples)
end