Part of bzrlib.tests.test_selftest.TestPostMortemDebugging View In Hierarchy
Method | __init__ | Construct new TestResult. |
Method | report_error | Undocumented |
Method | report_failure | Undocumented |
Method | _post_mortem | Record the code object at the end of the current traceback |
Inherited from ExtendedTestResult:
Method | stopTestRun | Undocumented |
Method | getDescription | Undocumented |
Method | startTest | Undocumented |
Method | stopTest | Undocumented |
Method | startTests | Undocumented |
Method | addError | Tell result that test finished with an error. |
Method | addFailure | Tell result that test failed. |
Method | addSuccess | Tell result that test completed successfully. |
Method | addExpectedFailure | Undocumented |
Method | addUnexpectedSuccess | Tell result the test unexpectedly passed, counting as a failure |
Method | addNotSupported | The test will not be run because of a missing feature. |
Method | addSkip | A test has not run for 'reason'. |
Method | addNotApplicable | Undocumented |
Method | progress | The test is adjusting the count of tests to run. |
Method | report_tests_starting | Display information before the test run begins |
Method | report_test_start | Display information on the test just about to be run |
Method | startTestRun | Undocumented |
Method | report_success | Undocumented |
Method | wasStrictlySuccessful | Undocumented |
Method | _extractBenchmarkTime | Add a benchmark time for the current test case. |
Method | _elapsedTestTimeString | Return a time string for the overall time the current test has taken. |
Method | _testTimeString | Undocumented |
Method | _formatTime | Format seconds as milliseconds with leading spaces. |
Method | _shortened_test_description | Undocumented |
Method | _record_traceback_from_test | Store the traceback from passed exc_info tuple till |
Method | _check_leaked_threads | See if any threads have leaked since last call |
Method | _recordTestStartTime | Record that a test has started. |
Method | _count_stored_tests | Count of tests instances kept alive due to not succeeding |
Method | _report_thread_leak | Display information on a test that leaked one or more threads |
Parameters | bench_history | Optionally, a writable file object to accumulate benchmark results. |