class documentation

class BrokenRunInfrastructure(unittest.TestCase): (source)

View In Hierarchy

A test suite that is broken at the level of integration between TestCase.run and the results object.

Method run Override the normal run behavior to pass the result object along to the test method. Each test method needs the result object so that it can implement its particular kind of brokenness.
Method test_addError Violate the TestResult.addError interface.
Method test_addExpectedFailure Violate the TestResult.addExpectedFailure interface.
Method test_addFailure Violate the TestResult.addFailure interface.
Method test_addSkip Violate the TestResult.addSkip interface.
Method test_addSuccess Violate the TestResult.addSuccess interface.
Method test_addUnexpectedSuccess Violate the TestResult.addUnexpectedSuccess interface.
def run(self, result): (source)

Override the normal run behavior to pass the result object along to the test method. Each test method needs the result object so that it can implement its particular kind of brokenness.

def test_addError(self, result): (source)

Violate the TestResult.addError interface.

def test_addExpectedFailure(self, result): (source)

Violate the TestResult.addExpectedFailure interface.

def test_addFailure(self, result): (source)

Violate the TestResult.addFailure interface.

def test_addSkip(self, result): (source)

Violate the TestResult.addSkip interface.

def test_addSuccess(self, result): (source)

Violate the TestResult.addSuccess interface.

def test_addUnexpectedSuccess(self, result): (source)

Violate the TestResult.addUnexpectedSuccess interface.