t.t._.w.WorkerReporter(TestResult) : class documentation

Part of twisted.trial._dist.workerreporter View Source View In Hierarchy

Reporter for trial's distributed workers. We send things not through a stream, but through an AMP protocol's callRemote method.
Method __init__
Method addSuccess Send a success over.
Method addError Send an error over.
Method addFailure Send a Failure over.
Method addSkip Send a skip over.
Method addExpectedFailure Send an expected failure over.
Method addUnexpectedSuccess Send an unexpected success over.
Method printSummary Don't print a summary
Method _getFailure Convert a sys.exc_info()-style tuple to a Failure, if necessary.
Method _getFrames Extract frames from a Failure instance.

Inherited from TestResult:

Instance Variable successes count the number of successes achieved by the test run. (type: int)
Method __repr__ Undocumented
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 upDownError Deprecated in Twisted 8.0.
Method cleanupErrors Report an error that occurred during the cleanup between tests.
Method startSuite Deprecated in Twisted 8.0.
Method endSuite Deprecated in Twisted 8.0.
Method done The test suite has finished running.
Method _getTime Undocumented
def __init__(self, ampProtocol): (source)
ParametersampProtocolThe communication channel with the trial distributed manager which collects all test results. (type: AMP)
def _getFailure(self, error): (source)
Convert a sys.exc_info()-style tuple to a Failure, if necessary.
def _getFrames(self, failure): (source)
Extract frames from a Failure instance.
def addSuccess(self, test): (source)
Send a success over.
def addError(self, test, error): (source)
Send an error over.
def addFailure(self, test, fail): (source)
Send a Failure over.
def addSkip(self, test, reason): (source)
Send a skip over.
def addExpectedFailure(self, test, error, todo): (source)
Send an expected failure over.
def addUnexpectedSuccess(self, test, todo): (source)
Send an unexpected success over.
def printSummary(self): (source)
Don't print a summary
API Documentation for Twisted, generated by pydoctor at 2012-12-26 12:18:15.