webdriver_test_tools.config.test module¶
-
class
webdriver_test_tools.config.test.TestSuiteConfig[source]¶ Bases:
objectConfigurations for test suite
-
RUNNER_CLASS¶ alias of
colour_runner.runner.ColourTextTestRunner
-
RUNNER_KWARGS= {}¶ Dictionary mapping parameter names to desired values used to initialize the
TestRunnerconfigured inRUNNER_CLASS
-
DEFAULT_VERBOSITY= 2¶ Value used if the
verbosityparameter is unspecified when callingget_runner().Note
Conflict may occur if
'verbosity'is set inRUNNER_KWARGS. Be sure to useDEFAULT_VERBOSITYinstead for setting this value.get_runner()assumes theRUNNER_CLASSconstructor takes averbosityparameter in its constructor. If using a custom test runner class that doesn’t support this, you should override theget_runner()method in your project’sTestSuiteConfigclass.
-
classmethod
get_runner(verbosity=None)[source]¶ Returns
RUNNER_CLASSobject usingRUNNER_KWARGSto initialize- Parameters
verbosity – (Optional) value to use for the
verbosityparameter when initializing the test runner. UsesDEFAULT_VERBOSITYif unspecified.- Returns
The initialized
TestRunnerobject
-