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.
70 71 72 73 74 |
# File 'lib/mutineer/minitest_integration/stop_at_first_failure.rb', line 70 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.
82 83 84 85 86 |
# File 'lib/mutineer/minitest_integration/stop_at_first_failure.rb', line 82 def run_one_method(klass, method_name, reporter) return if StopAtFirstFailure.stopped_here? super end |