class documentation

Tests for the class-wide expected failure features of twisted.trial.unittest.TestCase.

Method setUp Setup our test case
Method test_counting Ensure that we've got four test cases.
Method test_expectedFailures Ensure that expected failures are handled properly.
Method test_results Running a suite in which an entire class is marked as expected to fail produces a successful result with no recorded errors, failures, or skips, all methods which fail and were expected to fail recorded as ...
Method test_unexpectedSuccesses Ensure that unexpected successes are caught.

Inherited from ResultsTestMixin:

Method assertCount Asserts that the test count is plausible
Method loadSuite Load tests from the given test case class and create a new reporter to use for running it.
Method test_setUp test the setup
Instance Variable loader Undocumented
Instance Variable reporter Undocumented
Instance Variable suite Undocumented
def setUp(self): (source)

Setup our test case

def test_counting(self): (source)

Ensure that we've got four test cases.

def test_expectedFailures(self): (source)

Ensure that expected failures are handled properly.

def test_results(self): (source)

Running a suite in which an entire class is marked as expected to fail produces a successful result with no recorded errors, failures, or skips, all methods which fail and were expected to fail recorded as expectedFailures, and all methods which pass but which were expected to fail recorded as unexpectedSuccesses. Additionally, no tests are recorded as successes.

def test_unexpectedSuccesses(self): (source)

Ensure that unexpected successes are caught.