Package test_suite :: Package system_tests :: Class System_test_runner
[hide private]
[frames] | no frames]

Class System_test_runner

source code

Class for executing all of the system/functional tests.

Instance Methods [hide private]
 
run(self, tests=None, runner=None)
Run the system/functional tests.
source code
Method Details [hide private]

run(self, tests=None, runner=None)

source code 

Run the system/functional tests.

The system 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 system tests to preform.
  • runner (Test runner instance (TextTestRunner, BaseGUITestRunner subclass, etc.)) - A test runner such as TextTestRunner. For an example of how to write a test runner see the python documentation for TextTestRunner in the python source.