twisted.trial.test.test_tests.SkipMethodsMixin(ResultsTestMixin)
class documentationtwisted.trial.test.test_tests
(View In Hierarchy)
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 |
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.