Home | Trees | Index | Help |
---|
|
object --+ | TestRun
A 'TestRun' stores the 'Result's from a single test run.
The primary contents of a 'TestRun' are the the 'Result's of the run. In addition, each 'TestRun' has an associated set of annotations, which are used to store global information about the 'TestRun'.
|
|||
CountOutcomes(self,
directory="",
outcome=None)
Return statistics about the outcomes of tests. |
|||
GetAllResults(self,
directory="",
kind=Result.TEST)
Return 'Result's from the given directory.. |
|||
GetAnnotation(self,
key)
Return the annotation associated with 'key'. |
|||
GetAnnotations(self)
Return this run's dictionary of annotations. |
|||
GetResult(self,
id,
kind=Result.TEST)
Return the 'Result' for the indicated test. |
|||
GetResultsByOutcome(self,
outcome=None,
directory="",
kind=Result.TEST)
Return 'Result's with a particular outcome. |
|||
Inherited from |
|
|||
Inherited from |
|
Return statistics about the outcomes of tests. 'directory' -- A path to a directory in the test database. 'outcome' -- If not 'None', one of the 'Result.outcomes'. returns -- A dictionary mapping outcomes to the number of test results with that outcome located within 'directory' and its subdirectories. If 'outcome' is not 'None', the dictionary will have an entry only for the 'outcome' specified. |
Return 'Result's from the given directory.. 'directory' -- A path to a directory in the test database. 'kind' -- The kind of results to return. returns -- All the results within 'directory' (including its subdirectories). |
Return the annotation associated with 'key'. 'key' -- A string giving the name of an annotation. returns -- A string giving the value of the annotation, or 'None' if there is no such annotation. |
Return this run's dictionary of annotations. returns -- A dictionary mapping annotation names (strings) to values (also strings). |
Return the 'Result' for the indicated test. 'id' -- The name of a test or resource. 'kind' -- The kind of result to retrieve. See 'Result' for a list of the available result kinds. returns -- The 'Result' corresponding to 'test_id'. raises -- 'KeyError' if there is no result of the given 'kind' for 'id' in the test run. |
Return 'Result's with a particular outcome. 'outcome' -- One of the 'Result.outcomes', or 'None'. 'directory' -- A path to a directory in the test database. 'kind' -- The kind of results to return. returns -- All the results within 'directory' (including its subdirectories) that have the indicated 'outcome', or, if 'outcome' is 'None', all test results from 'directory'. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:34 2007 | http://epydoc.sf.net |