Part of twisted.trial.itrial View Source View In Hierarchy
I report results from a run of a test suite.
In all lists below, 'Results' are either a twisted.python.failure.Failure object, or a string.Attribute | stream | |
Attribute | tbformat | |
Attribute | args | |
Attribute | shouldStop | |
Method | startTest | report the beginning of a run of a single test method |
Method | stopTest | report the status of a single test method |
Method | startSuite | suites which wish to appear in reporter output should call this |
Method | endSuite | called at the end of a suite, if and only if that suite has called |
Method | cleanupErrors | called when the reactor has been left in a 'dirty' state |
Method | upDownError | called when an error occurs in a setUp* or tearDown* method |
Method | addSuccess | Record that test passed. |
Instance Variables | shouldStop | a boolean indicating that this reporter would like the test run to stop. |
Parameters | method | an object that is adaptable to ITestMethod |
Parameters | method | an object that is adaptable to ITestMethod |
Parameters | errs | a list of twisted.python.failure.Failure s
|
Parameters | warn | indicates whether or not the reporter should emit a warning about the error (type: Boolean ) |
printStatus | indicates whether or not the reporter should print the name of the method and the status message appropriate for the type of error (type: Boolean ) |