- class zope.testrunner.runner.Runner(defaults=None, args=None, found_suites=None, options=None, script_parts=None, cwd=None, warnings=None)¶
The test runner.
It is the central point of this package and responsible for finding and executing tests as well as configuring itself from the (command-line) options passed into it.
Changed in version 4.8.0: Add the warnings keyword argument. If this is
None(the default) and the user hasn’t configured Python otherwise with command-line arguments or environment variables, we will enable the default warnings, including
DeprecationWarning, when running tests. Otherwise, it can be any string acceptable to
warnings.simplefilter()and that filter will be in effect while running tests.
Add unit and functional testing support to setuptools-driven eggs.