| |
- __builtin__.object
-
- ProgressReporter
- TestRunner
- unittest.result.TestResult(__builtin__.object)
-
- TestResult
- unittest.suite.TestSuite(unittest.suite.BaseTestSuite)
-
- TestSuite
class ProgressReporter(__builtin__.object) |
| |
Methods defined here:
- Error(self, test, err)
- Failure(self, test, err)
- Skip(self, test, reason)
- StartTest(self, test)
- StartTestRun(self)
- StartTestSuite(self, suite)
- StopTest(self, test)
- StopTestRun(self, result)
- StopTestSuite(self, suite)
- Success(self, test)
- __init__(self, output_stream)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class TestResult(unittest.result.TestResult) |
| |
- Method resolution order:
- TestResult
- unittest.result.TestResult
- __builtin__.object
Methods defined here:
- __init__(self, progress_reporters)
- addError(self, test, err)
- addFailure(self, test, err)
- addSkip(self, test, reason)
- addSuccess(self, test)
- startTest(self, test)
- startTestRun(self)
- startTestSuite(self, suite)
- stopTest(self, test)
- stopTestRun(self)
- stopTestSuite(self, suite)
Data descriptors defined here:
- failures_and_errors
Methods inherited from unittest.result.TestResult:
- __repr__(self)
- addExpectedFailure(self, test, err)
- Called when an expected failure/error occured.
- addUnexpectedSuccess(self, *args, **kw)
- Called when a test was expected to fail, but succeed.
- printErrors(self)
- Called by TestRunner after test run
- stop(self)
- Indicates that the tests should be aborted
- wasSuccessful(self)
- Tells whether or not this result was a success
Data descriptors inherited from unittest.result.TestResult:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class TestRunner(__builtin__.object) |
| |
Methods defined here:
- run(self, test, progress_reporters, repeat_count, args)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
|