Home | Trees | Index | Help |
---|
|
object --+ | extension.Extension --+ | Suite
A collection of tests. A test suite is a collection of tests. The suite may contain other suites by reference as well; all tests contained in these contained suites are considered contained in the containing suite as well.
|
|||
Inherited from |
|
|||
GetAllTestAndSuiteIds(self)
Return the tests/suites contained in this suite and its subsuites. |
|||
GetDatabase(self)
Return the 'Database' that contains this suite. |
|||
GetId(self)
Return the ID of this test suite. |
|||
GetSuiteIds(self)
Return the suites contained in this suite. |
|||
GetTestIds(self)
Return the tests contained in this suite. |
|||
IsImplicit(self)
Return true if this is an implicit test suite. |
|||
__init__(self,
arguments=None,
**args)
Construct a new 'Runnable'. |
|||
Inherited from Inherited from |
|
|||
EXTRA_DATABASE | The name of the extra keyword argument to '__init__' that specifies the database containing the test or resource. | ||
EXTRA_ID | The name of the extra keyword argument to '__init__' that specifies the name of the test or resource. | ||
arguments | A list of the arguments to the extension class. | ||
kind | A string giving kind of extension is implemented by the class. | ||
Inherited from Inherited from |
|
Return the tests/suites contained in this suite and its subsuites. returns -- A pair '(test_ids, suite_ids)'. The 'test_ids' and 'suite_ids' elements are both sequences of labels. The values returned include all tests and suites that are contained in this suite and its subsuites, recursively. |
Return the 'Database' that contains this suite. returns -- The 'Database' that contains this suite. |
|
Return the suites contained in this suite. returns -- A sequence of labels corresponding to the suites contained in this suite. Suites that are contained in this suite only because they are contained in a suite which is itself contained in this suite are not returned. |
Return the tests contained in this suite. returns -- A sequence of labels corresponding to the tests contained in this suite. Tests that are contained in this suite only because they are contained in a suite which is itself contained in this suite are not returned. |
Return true if this is an implicit test suite. Implicit test suites cannot be edited. |
Construct a new 'Runnable'. 'arguments' -- As for 'Extension.__init__'. 'args' -- As for 'Extension.__init__'.
|
|
EXTRA_DATABASEThe name of the extra keyword argument to '__init__' that specifies the database containing the test or resource.
|
EXTRA_IDThe name of the extra keyword argument to '__init__' that specifies the name of the test or resource.
|
argumentsA list of the arguments to the extension class. Each element of this list should be an instance of 'Field'. The 'Field' instance describes the argument. Derived classes may redefine this class variable. However, derived classes should not explicitly include the arguments from base classes; QMTest will automatically combine all the arguments found throughout the class hierarchy.
|
kindA string giving kind of extension is implemented by the class. This field is used in an application-specific way; for example, QMTest has 'test' and 'target' extension classes.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:33 2007 | http://epydoc.sf.net |