Module: Mutineer::MinitestIntegration::KillRecorder::MarkSkippedClass6
- Defined in:
- lib/mutineer/minitest_integration/kill_recorder.rb
Overview
Prepended on each loaded test class's singleton under Minitest 6: one
class's run and each test's class-level run, user wrappers included.
A run without --matrix skips both after a stop (see
StopAtFirstFailure::SkipAfterStop6).
Instance Method Summary collapse
-
#run(klass, method_name, reporter) ⇒ Object
Runs one test's class-level step inside a
skipregion once a serial test has failed. -
#run_suite(reporter, options = {}) ⇒ Object
Runs the class inside a
skipregion once a serial test has failed.
Instance Method Details
#run(klass, method_name, reporter) ⇒ Object
Runs one test's class-level step inside a skip region once a
serial test has failed.
56 57 58 |
# File 'lib/mutineer/minitest_integration/kill_recorder.rb', line 56 def run(klass, method_name, reporter) KillRecorder.skipping { super } end |
#run_suite(reporter, options = {}) ⇒ Object
Runs the class inside a skip region once a serial test has failed.
44 45 46 47 |
# File 'lib/mutineer/minitest_integration/kill_recorder.rb', line 44 def run_suite(reporter, = {}) KillRecorder.class_starting(self, reporter) KillRecorder.skipping { super } end |