Test result that defers to plugins.
All test outcome recording and reporting is deferred to plugins, which are expected to implement startTest, stopTest, testOutcome, and wasSuccessful.
Parameters: | session – Test run session. |
---|
When True, test run should stop before running another test.
Test case resulted in error.
Fires setTestOutcome() and testOutcome() hooks.
Test case resulted in expected failure.
Fires setTestOutcome() and testOutcome() hooks.
Test case resulted in failure.
Fires setTestOutcome() and testOutcome() hooks.
Test case was skipped.
Fires setTestOutcome() and testOutcome() hooks.
Test case resulted in success.
Fires setTestOutcome() and testOutcome() hooks.
Test case resulted in unexpected success.
Fires setTestOutcome() and testOutcome() hooks.
Start a test case.
Fires startTest() hook.
Stop test run.
Fires resultStop() hook, sets self.shouldStop to event.shouldStop.
Stop a test case.
Fires stopTest() hook.
Was test run successful?
Fires wasSuccessful() hook, returns event.success.