class documentation
class SkipMethodsMixin(ResultsTestMixin):
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 | set |
Setup our test case |
Method | test |
Assert that there are three tests. |
Method | test_deprecated |
If a test method raises SkipTest with no reason, a deprecation warning is emitted. |
Method | test |
Test that reasons work |
Method | test |
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. |
Method | test_set |
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. |
Inherited from ResultsTestMixin
:
Method | assert |
Asserts that the test count is plausible |
Method | load |
Load tests from the given test case class and create a new reporter to use for running it. |
Instance Variable | loader |
Undocumented |
Instance Variable | reporter |
Undocumented |
Instance Variable | suite |
Undocumented |
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.