A replacement for the TextTestResult class.
This class is designed to catch STDOUT and STDERR during the execution
of each test and to prepend the output to the failure and error reports
normally generated by TextTestRunner.
|
__init__(self,
stream,
descriptions,
verbosity,
category=None,
timing=False,
io_capture=True)
Initialise the RelaxTestResult object with relax specific variables. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from unittest.runner.TextTestResult :
addExpectedFailure ,
addSkip ,
addUnexpectedSuccess ,
getDescription ,
printErrorList ,
printErrors
Inherited from unittest.result.TestResult :
__repr__ ,
startTestRun ,
stop ,
stopTestRun ,
wasSuccessful
Inherited from unittest.result.TestResult (private):
_count_relevant_tb_levels ,
_exc_info_to_string ,
_is_relevant_tb_level ,
_restoreStdout ,
_setupStdout
|