Module: Mutineer::MinitestIntegration::InTestDatabaseError::RecordFirstFailure

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

Overview

Prepended on Minitest::CompositeReporter.

Instance Method Summary collapse

Instance Method Details

#record(result) ⇒ void

This method returns an undefined value.

Records the result, then lets the module keep the first failure.

Parameters:

  • result (Minitest::Result) —

    the result of one test.



61
62
63
64
# File 'lib/mutineer/minitest_integration/in_test_database_error.rb', line 61

def record(result)
  super
  InTestDatabaseError.record(self, result)
end