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.
Methods
|
|
GetAllTestAndSuiteIds
GetDatabase
GetId
GetSuiteIds
GetTestIds
IsImplicit
__init__
|
|
GetAllTestAndSuiteIds
|
GetAllTestAndSuiteIds ( self )
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.
|
|
GetDatabase
|
GetDatabase ( self )
Return the Database that contains this suite.
- returns
- The
Database that contains this suite.
|
|
GetId
|
GetId ( self )
Return the ID of this test suite.
|
|
GetSuiteIds
|
GetSuiteIds ( self )
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.
|
|
GetTestIds
|
GetTestIds ( self )
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.
|
|
IsImplicit
|
IsImplicit ( self )
Return true if this is an implicit test suite.
Implicit test suites cannot be edited.
|
|
__init__
|
__init__ (
self,
arguments,
**extras,
)
Construct a new Runnable .
-
arguments
- As for
Extension.__init__ .
-
extras
- Extra keyword arguments provided by QMTest.
Derived classes must pass along any unrecognized keyword
arguments to this method. All extra keyword arguments
provided by QMTest will begin with
qmtest_ . These arguments
are provided as keyword arguments so that additional arguments
can be added in the future without necessitating changes to
test or resource classes. Derived classes should not rely in
any way on the contents of extras .
|