Package test_suite :: Package gui_tests :: Class GUI_test_runner
[hide private]
[frames] | no frames]

Class GUI_test_runner

source code

Class for executing all of the GUI tests.

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

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

source code 

Run the GUI tests.

The GUI 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 GUI 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.