Module: Mutineer::MinitestIntegration::KillRecorder::MarkSkippedTest

Defined in:
lib/mutineer/minitest_integration/kill_recorder.rb

Overview

Prepended on each loaded test class: one test's run. Serial and parallel runs both call it, in Minitest 5 and 6.

Instance Method Summary collapse

Instance Method Details

#run ⇒ Minitest::Result

Runs the test inside a skip region once a serial test has failed.

Returns:

  • (Minitest::Result)


29
30
31
# File 'lib/mutineer/minitest_integration/kill_recorder.rb', line 29

def run
  KillRecorder.skipping { super }
end