class documentation

TestResult decorator that makes sure that addError only gets tests that have been adapted with a particular test adapter.

Method __init__ Construct an _AdaptedReporter.
Method addError See itrial.IReporter.
Method addExpectedFailure See itrial.IReporter.
Method addFailure See itrial.IReporter.
Method addSkip See itrial.IReporter.
Method addUnexpectedSuccess See itrial.IReporter.
Method startTest See itrial.IReporter.
Method stopTest See itrial.IReporter.
Instance Variable testAdapter Undocumented

Inherited from TestResultDecorator:

Instance Variable _originalReporter The wrapped instance of reporter.
def __init__(self, original, testAdapter): (source)

Construct an _AdaptedReporter.

Parameters
originalAn {itrial.IReporter}.
testAdapterA callable that returns an itrial.ITestCase.
def addError(self, test, error): (source)
def addExpectedFailure(self, test, failure, todo=None): (source)

See itrial.IReporter.

Parameters
test:A pyunit.TestCase.Undocumented
failure:A failure.Failure or AssertionErrorUndocumented
todo:

A unittest.Todo or None

When todo is None a generic unittest.Todo is built.

pyunit.TestCase's run() calls this with 3 positional arguments (without todo).

Undocumented
def addFailure(self, test, failure): (source)
def addUnexpectedSuccess(self, test, todo=None): (source)

See itrial.IReporter.

Parameters
test:A pyunit.TestCase.Undocumented
todo:

A unittest.Todo or None

When todo is None a generic unittest.Todo is built.

pyunit.TestCase's run() calls this with 2 positional arguments (without todo).

Undocumented
testAdapter = (source)

Undocumented