Module: Mutineer::MinitestIntegration::StopAtFirstFailure::SkipAfterStop5
- Defined in:
- lib/mutineer/minitest_integration/stop_at_first_failure.rb
Overview
Prepended on the singleton class of each test class for Minitest 5.
Instance Method Summary collapse
-
#run(reporter, options = {}) ⇒ Object?
Skips the test class after a stop.
-
#run_one_method(klass, method_name, reporter) ⇒ Object?
Skips one test after a stop, without a record.
Instance Method Details
#run(reporter, options = {}) ⇒ Object?
Skips the test class after a stop.
93 94 95 96 97 |
# File 'lib/mutineer/minitest_integration/stop_at_first_failure.rb', line 93 def run(reporter, = {}) return if StopAtFirstFailure.stopped_here? super end |
#run_one_method(klass, method_name, reporter) ⇒ Object?
Skips one test after a stop, without a record.
105 106 107 108 109 |
# File 'lib/mutineer/minitest_integration/stop_at_first_failure.rb', line 105 def run_one_method(klass, method_name, reporter) return if StopAtFirstFailure.stopped_here? super end |