Known subclasses: twisted.trial.test.test_tests.AsynchronousSkipMethodTests, twisted.trial.test.test_tests.SynchronousSkipMethodTests

Tests for the reporting of skipping tests in twisted.trial.unittest.TestCase.

Method setUp Setup our test case
Method test_counting Assert that there are three tests.
Method test_results No summary
Method test_setUp No summary
Method test_reasons Test that reasons work
Method test_deprecatedSkipWithoutReason If a test method raises SkipTest with no reason, a deprecation warning is emitted.

Inherited from ResultsTestMixin:

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

Setup our test case

def test_counting(self):

Assert that there are three tests.

def test_results(self):

Running a suite in which all methods are individually set to skip produces a successful result with no recorded errors or failures, all the skipped methods recorded as skips, and no methods recorded as successes.

def test_setUp(self):

Running a suite in which all methods are skipped by setUp raising SkipTest produces a successful result with no recorded errors or failures, all skipped methods recorded as skips, and no methods recorded as successes.

def test_reasons(self):

Test that reasons work

def test_deprecatedSkipWithoutReason(self):

If a test method raises SkipTest with no reason, a deprecation warning is emitted.

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