Home | Trees | Index | Help |
---|
|
object --+ | extension.Extension --+ | result_stream.ResultStream --+ | file_result_stream.FileResultStream --+ | TextResultStream
A 'TextResultStream' displays test results textually.
A 'TextResultStream' displays information textually, in human readable form. This 'ResultStream' is used when QMTest is run without a graphical user interface.
|
|||
Inherited from |
|
|||
__init__(self,
arguments=None,
**args)
Construct a 'TextResultStream'. |
|||
WriteResult(self,
result)
Output a test or resource result. |
|||
Summarize(self)
Output summary information about the results. |
|||
_DisplayStatistics(self)
Write out statistical information about the results. |
|||
_SummarizeTestStats(self)
Generate statistics about the overall results. |
|||
_SummarizeRelativeTestStats(self)
Generate statistics showing results relative to expectations. |
|||
_FormatStatistics(self,
format)
Output statistical information. |
|||
_SummarizeResults(self,
results)
Summarize each of the results. |
|||
_DisplayResult(self,
result,
format)
Display 'result'. |
|||
_DisplayAnnotations(self,
result)
Display the annotations associated with 'result'. |
|||
_WriteOutcome(self,
name,
kind,
outcome,
expected_outcome=None)
Write a line indicating the outcome of a test or resource. |
|||
_DisplayHeading(self,
heading)
Display 'heading'. |
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
arguments | |||
_argument_dictionary | |||
_argument_list | |||
format | |||
statistics_format | |||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
Construct a 'TextResultStream'. 'args' -- As for 'Extension.__init__'.
|
Output a test or resource result. 'result' -- A 'Result'.
|
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.
|
Write out statistical information about the results. Write out statistical information about the results. |
|
|
Output statistical information. 'format' -- A format string with (optional) fill-ins corresponding to statistical information. The formatted string is written to the result file. |
Summarize each of the results. 'results' -- The sequence of 'Result' objects to summarize. |
Display 'result'. 'result' -- The 'Result' of a test or resource execution. 'format' -- The format to use when displaying results. |
Display the annotations associated with 'result'. 'result' -- The 'Result' to dispay. |
Write a line indicating the outcome of a test or resource. 'name' -- The name of the test or resource. 'kind' -- The kind of result being displayed. 'outcome' -- A string giving the outcome. 'expected_outcome' -- If not 'None', the expected outcome. |
Display 'heading'. 'heading' -- The string to use as a heading for the next section of the report. |
|
arguments
|
_argument_dictionary
|
_argument_list
|
format
|
statistics_format
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:33 2007 | http://epydoc.sf.net |