katgpucbf.pytest_plugins.reporter_plugin module

Wrap the functionality of katgpucbf.pytest_plugins.reporter as a pytest plugin.

katgpucbf.pytest_plugins.reporter_plugin.matplotlib_report_style() Generator[None, None, None][source]

Set the style of all matplotlib plots.

katgpucbf.pytest_plugins.reporter_plugin.pdf_report(request, monkeypatch) Reporter[source]

Fixture for logging steps in a test.

katgpucbf.pytest_plugins.reporter_plugin.pytest_addoption(parser: Parser, pluginmanager: PytestPluginManager) None[source]

Add the inifile options.

katgpucbf.pytest_plugins.reporter_plugin.pytest_configure(config: Config) None[source]

Register custom markers.

katgpucbf.pytest_plugins.reporter_plugin.pytest_runtest_call(item) Generator[None, None, None][source]

Update the test_start field when the test is actually started.

This gives a more accurate start time than the one recorded by pytest_runtest_setup(), which is the time at which setup started.

katgpucbf.pytest_plugins.reporter_plugin.pytest_runtest_setup(item) Generator[None, None, None][source]

Set up the user property for passing data to the report generator.