Next: , Previous: Writing New Tests, Up: Writing Tests



4.2 Defining Test Sets

Test set source files are placed in the same directory as tests, but their file names start with capital letters. Loaded test sets are put into the same wachecker.test module as tests.

You define a new test set by defining new subclass of wachecker.test.Test_Set. The following class attributes should be redefined in each new test set class:

_name
“Human readable” name of the test set.
_description
Short description of the test set.
_tests
Tuple of test classes to include in the test set.