class documentation
class CapturingReporter: (source)
Implements interfaces: twisted.trial.itrial.IReporter
Reporter that keeps a log of all actions performed on it.
Method | __init__ |
Create a capturing reporter. |
Method | add |
Do nothing. These tests don't care about addError. |
Method | add |
Do nothing. These tests don't care about addExpectedFailure. |
Method | add |
Do nothing. These tests don't care about addFailure. |
Method | add |
Do nothing. These tests don't care about addSkip. |
Method | add |
Record that test passed. |
Method | add |
Do nothing. These tests don't care about addUnexpectedSuccess. |
Method | cleanup |
called when the reactor has been left in a 'dirty' state |
Method | done |
Do nothing. These tests don't care about done. |
Method | start |
Report the beginning of a run of a single test method |
Method | stop |
Report the status of a single test method |
Method | was |
Do nothing. These tests don't care about wasSuccessful. |
Class Variable | args |
Undocumented |
Class Variable | separator |
Undocumented |
Class Variable | stream |
Undocumented |
Class Variable | tbformat |
Undocumented |
Class Variable | tests |
The number of tests that seem to have been run according to this reporter. |
Instance Variable | should |
A boolean indicating that this reporter would like the test run to stop. |
Instance Variable | _calls |
Undocumented |
Instance Variable | _publisher |
Undocumented |
Instance Variable | _rterrors |
Undocumented |
Instance Variable | _stream |
Undocumented |
Instance Variable | _tbformat |
Undocumented |
called when the reactor has been left in a 'dirty' state
Parameters | |
errs | a list of twisted.python.failure.Failure s |
Report the beginning of a run of a single test method
Parameters | |
method | an object that is adaptable to ITestMethod |
Report the status of a single test method
Parameters | |
method | an object that is adaptable to ITestMethod |