Module: Mutineer::MinitestIntegration::StopAtFirstFailure::SkipAfterStop6
- Defined in:
- lib/mutineer/minitest_integration/stop_at_first_failure.rb
Overview
Prepended on the singleton class of each test class for Minitest 6.
Instance Method Summary collapse
-
#run(klass, method_name, reporter) ⇒ Object?
Skips one test after a stop, without a record.
-
#run_suite(reporter, options = {}) ⇒ Object?
Skips the test class after a stop.
Instance Method Details
#run(klass, method_name, reporter) ⇒ Object?
Skips one test after a stop, without a record.
56 57 58 59 60 |
# File 'lib/mutineer/minitest_integration/stop_at_first_failure.rb', line 56 def run(klass, method_name, reporter) return if StopAtFirstFailure.stopped_here? super end |
#run_suite(reporter, options = {}) ⇒ Object?
Skips the test class after a stop.
44 45 46 47 48 |
# File 'lib/mutineer/minitest_integration/stop_at_first_failure.rb', line 44 def run_suite(reporter, = {}) return if StopAtFirstFailure.stopped_here? super end |