ID EN
Unittest

TestSuite

Python 3.11

This class represents an aggregation of individual test cases and test suites. The class presents the interface needed by the test runner to allow it to be run as any other test case. Running a TestSuite instance is the same as iterating over the suite, running each test individually.

Syntax

PYTHON
class unittest.TestSuite(tests=())

See Also

TestSuite TestSuite TestCase TestSuite TestCase TestSuite TestCase TestSuite