Module unittest :: Class TestSuite
[hide private]
[frames] | no frames]

type TestSuite

object --+

A test suite is a composite test consisting of a number of TestCases.

For use, create an instance of TestSuite, then add test case instances. When all tests have been added, the suite can be passed to a test runner, such as TextTestRunner. It will run the individual test cases in the order in which they were added, aggregating the results. When subclassing, do not forget to call the base class constructor.

Instance Methods [hide private]
__init__(self, tests=())
addTest(self, test)
addTests(self, tests)
run(self, result)
__call__(self, *args, **kwds)
Run the tests without collecting errors in a TestResult
Method Details [hide private]

__init__(self, tests=())

Overrides: object.__init__
(inherited documentation)

(Representation operator)

Overrides: object.__repr__
(inherited documentation)

(Informal representation operator)

Overrides: object.__str__
(inherited documentation)