Module: Mutineer::MinitestIntegration::StopAtFirstFailure::OuterReporter6
- Defined in:
- lib/mutineer/minitest_integration/stop_at_first_failure.rb
Overview
Prepended on the Minitest singleton class for Minitest 6.
Instance Method Summary collapse
-
#run_all_suites(reporter, options) ⇒ Object
Keeps the outer reporter.
Instance Method Details
#run_all_suites(reporter, options) ⇒ Object
Keeps the outer reporter. Only the first call counts, because a test can call this method with its own reporter.
41 42 43 44 |
# File 'lib/mutineer/minitest_integration/stop_at_first_failure.rb', line 41 def run_all_suites(reporter, ) StopAtFirstFailure.armed_reporter ||= reporter if StopAtFirstFailure.armed_here? super end |