__init__(self,
tests=[ ] ,
from_gui=False,
categories=[ ' system ' , ' unit ' , ' gui ' , ' verification ' ] ,
timing=False,
io_capture=True,
list_tests=False)
(Constructor)
| source code
|
Store the list of tests to preform.
The test list should be something like
['N_state_model.test_stereochem_analysis']. The first part is the
imported test case class, the second is the specific test.
- Parameters:
tests (list of str) - The list of tests to preform. If left at [], then all tests will
be run.
from_gui (bool) - A flag which indicates if the tests are being run from the GUI or
not.
categories (list of str) - The list of test categories to run, for example ['system',
'unit', 'gui', 'verification'] for all tests.
timing (bool) - A flag which if True will enable timing of individual tests.
io_capture (bool) - A flag which if True will cause all IO to be captured and only
printed out for failing or error tests.
list_tests (bool) - A flag which if True will cause the tests to be listed rather
than executed.
|