pytest_f3ts.plugin
Main Pytest Plugin Scaffolding.
class F3TSReporter
F3TS Test Runner Reporter Plugin.
This plugin implements all backend communication with the F3TS Test Runner application.
F3TSReporter.pytest_collection_modifyitems(self, items)
Pre-processing after collection has been called.
F3TSReporter.pytest_runtest_logreport(self, report)
Send the unit test report to the Backend.
Create a TestReport model from the pytest report object and send the results to the backend webserver. Send error notification after failed test.
F3TSReporter.pytest_sessionfinish(self, session)
Send the test finished message to the Backend.
F3TSReporter.pytest_terminal_summary(self, terminalreporter, exitstatus, config)
Send collected run information to database.
Updates information such as duration, serial number, fixture id, etc.
pytest_addoption(parser)
Add F3TS Plugin related options.
pytest_configure(config)
Add markers and other configuration information for the F3TS plugin.
safe_format(value, default=' ', width=15)
Return a formatted string or a default value if None.