class documentation
class DryRunMixin: (source)
Known subclasses: twisted.trial.test.test_runner.DryRunTests
, twisted.trial.test.test_runner.PyUnitDryRunTests
, twisted.trial.test.test_runner.SynchronousDryRunTests
Mixin for testing that 'dry run' mode works with various pyunit.TestCase
subclasses.
Method | make |
Set self.test and self.suite, where self.suite is an empty TestSuite. |
Method | set |
Undocumented |
Method | test |
If there are no tests, the reporter should not receive any events to report. |
Method | test_single |
If we are running a single test, check the reporter starts, passes and then stops the test during a dry run. |
Method | test_tests |
When we are doing a dry run, the tests should not actually be run. |
Instance Variable | log |
Undocumented |
Instance Variable | runner |
Undocumented |
Instance Variable | stream |
Undocumented |
overridden in
twisted.trial.test.test_runner.DryRunTests
, twisted.trial.test.test_runner.PyUnitDryRunTests
, twisted.trial.test.test_runner.SynchronousDryRunTests
Set self.test and self.suite, where self.suite is an empty TestSuite.
If we are running a single test, check the reporter starts, passes and then stops the test during a dry run.