testplan.exporters.testing.failed_tests package
Module contents
- class testplan.exporters.testing.failed_tests.FailedTestLevel(*values)[source]
Bases:
IntEnumEnum representing the different levels of failed tests that can be exported.
- MULTITEST = 1
- TESTCASE = 3
- TESTSUITE = 2
- class testplan.exporters.testing.failed_tests.FailedTestsExporter(name='Failed tests exporter', **options)[source]
Bases:
BaseExporterExporter for failed tests.
This exporter is used to generate reports for tests that have failed.
- CONFIG
alias of
FailtedTestsExporterConfig
- export(source: TestReport, export_context: ExportContext | None = None) None[source]
Export failed tests from the given test report.
- Parameters:
source – The test report to export from.
export_context – Context for the export operation.
- Returns:
A dictionary containing the exported data.
- class testplan.exporters.testing.failed_tests.FailtedTestsExporterConfig(**options: Any)[source]
Bases:
ExporterConfigConfiguration object for
FailedTestsExporter.