GNU Info

Info Node: (python2.1-lib.info)TestSuite Objects

(python2.1-lib.info)TestSuite Objects


Next: TestResult Objects Prev: TestCase Objects Up: unittest
Enter node , (file) or (file)node

TestSuite Objects
-----------------

`TestSuite' objects behave much like `TestCase' objects, except they do
not actually implement a test.  Instead, they are used to aggregate
tests into groups that should be run together.  Some additional methods
are available to add tests to `TestSuite' instances:

`addTest(test)'
     Add a `TestCase' or `TestSuite' to the set of tests that make up
     the suite.

`addTests(tests)'
     Add all the tests from a sequence of `TestCase' and `TestSuite'
     instances to this test suite.


automatically generated by info2www version 1.2.2.9