Class: TextResultStream | qm/test/classes/text_result_stream.py | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A
|
Base Classes | |
---|---|
FileResultStream |
Methods | ||
---|---|---|
| ||
Summarize | ||
Summarize ( self ) Output summary information about the results.When this method is called, the test run is complete. Summary information should be displayed for the user, if appropriate. Any finalization, such as the closing of open files, should also be performed at this point. | ||
WriteResult | ||
WriteResult ( self, result ) Output a test or resource result.
| ||
_DisplayAnnotations | ||
_DisplayAnnotations ( self, result ) Display the annotations associated with
| ||
_DisplayHeading | ||
_DisplayHeading ( self, heading ) Display
| ||
_DisplayResult | ||
_DisplayResult ( self, result, format, ) Display
| ||
_DisplayStatistics | ||
_DisplayStatistics ( self ) Write out statistical information about the results.Write out statistical information about the results. | ||
_FormatStatistics | ||
_FormatStatistics ( self, format ) Output statistical information.
The formatted string is written to the result file. | ||
_SummarizeRelativeTestStats | ||
_SummarizeRelativeTestStats ( self ) Generate statistics showing results relative to expectations. | ||
_SummarizeResults | ||
_SummarizeResults ( self, results ) Summarize each of the results.
| ||
_SummarizeTestStats | ||
_SummarizeTestStats ( self ) Generate statistics about the overall results. | ||
_WriteOutcome | ||
_WriteOutcome ( self, name, kind, outcome, expected_outcome=None, ) Write a line indicating the outcome of a test or resource.
| ||
__init__ | ||
__init__ ( self, arguments ) Construct a
|