Home | Trees | Indices | 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'.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
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 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 '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 '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'. |
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. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:42 2011 | http://epydoc.sourceforge.net |