class WorkerReporter(TestResult): (source)
Method | __init__ |
|
Method | addError |
Send an error over. |
Method | addExpectedFailure |
Send an expected failure over. |
Method | addFailure |
Send a Failure over. |
Method | addSkip |
Send a skip over. |
Method | addSuccess |
Send a success over. |
Method | addUnexpectedSuccess |
Send an unexpected success over. |
Method | printSummary |
Don't print a summary |
Instance Variable | ampProtocol |
Undocumented |
Method | _getFailure |
Convert a sys.exc_info()-style tuple to a Failure , if necessary. |
Method | _getFrames |
Extract frames from a Failure instance. |
Method | _getTodoReason |
Get the reason for a Todo. |
Constant | _DEFAULT_TODO |
Default message for expected failures and unexpected successes, used only if a Todo is not provided. |
Inherited from TestResult
:
Method | __repr__ |
Undocumented |
Method | done |
The test suite has finished running. |
Method | startTest |
This must be called before the given test is commenced. |
Method | stopTest |
This must be called after the given test is completed. |
Method | wasSuccessful |
Report whether or not this test suite was successful or not. |
Instance Variable | expectedFailures |
Undocumented |
Instance Variable | skips |
Undocumented |
Instance Variable | successes |
count the number of successes achieved by the test run. |
Instance Variable | unexpectedSuccesses |
Undocumented |
Method | _getTime |
Undocumented |
Instance Variable | _lastTime |
Undocumented |
Instance Variable | _testStarted |
Undocumented |
Instance Variable | _timings |
Undocumented |
Parameters | |
ampProtocol:AMP | The communication channel with the trial distributed manager which collects all test results. |