ID EN
Unittest

run

Python 3.11

Run the test, collecting the result into the TestResult object passed as result. If result is omitted or None, a temporary result object is created (by calling the defaultTestResult() method) and used. The result object is returned to run()’s caller.

Syntax

PYTHON
run(result=None)

See Also

TestResult defaultTestResult() run() TestCase