Implements interfaces: twisted.trial.itrial.IReporter

Reporter that keeps a log of all actions performed on it.

Method __init__ Create a capturing reporter.
Method startTest Report the beginning of a run of a single test method @param method: an object that is adaptable to ITestMethod
Method stopTest Report the status of a single test method @param method: an object that is adaptable to ITestMethod
Method cleanupErrors called when the reactor has been left in a 'dirty' state @param errs: a list of twisted.python.failure.Failures
Method addSuccess Record that test passed.
Method done Do nothing. These tests don't care about done.
def __init__(self, stream=None, tbformat=None, rterrors=None, publisher=None):

Create a capturing reporter.

def startTest(self, method):

Report the beginning of a run of a single test method

Parametersmethodan object that is adaptable to ITestMethod
def stopTest(self, method):

Report the status of a single test method

Parametersmethodan object that is adaptable to ITestMethod
def cleanupErrors(self, errs):

called when the reactor has been left in a 'dirty' state

Parameterserrsa list of twisted.python.failure.Failures
def addSuccess(self, test):

Record that test passed.

def done(self):

Do nothing. These tests don't care about done.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.