ID EN
Unittest

TestLoader

Python 3.11

The TestLoader class is used to create test suites from classes and modules. Normally, there is no need to create an instance of this class; the unittest module provides an instance that can be shared as unittest.defaultTestLoader. Using a subclass or instance, however, allows customization of some configurable properties.

Syntax

PYTHON
class unittest.TestLoader

See Also

TestLoader unittest unittest.defaultTestLoader TestLoader TestLoader TestCase getTestCaseNames() getTestCaseNames()