pytest-reporter-html 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pytest_reporter_html/__init__.py +27 -0
- pytest_reporter_html/html_report.py +1266 -0
- pytest_reporter_html/logger.py +115 -0
- pytest_reporter_html/logging_bridge.py +135 -0
- pytest_reporter_html/plugin.py +415 -0
- pytest_reporter_html/reporter.py +200 -0
- pytest_reporter_html/s3_utils.py +113 -0
- pytest_reporter_html/step.py +120 -0
- pytest_reporter_html/types.py +100 -0
- pytest_reporter_html-1.0.0.dist-info/METADATA +487 -0
- pytest_reporter_html-1.0.0.dist-info/RECORD +14 -0
- pytest_reporter_html-1.0.0.dist-info/WHEEL +4 -0
- pytest_reporter_html-1.0.0.dist-info/entry_points.txt +2 -0
- pytest_reporter_html-1.0.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"""
|
|
2
|
+
pytest-reporter-html — Pytest reporter for HTML test reports.
|
|
3
|
+
|
|
4
|
+
Public API::
|
|
5
|
+
|
|
6
|
+
from pytest_reporter_html import step
|
|
7
|
+
|
|
8
|
+
@step("Create user")
|
|
9
|
+
async def create_user(client):
|
|
10
|
+
...
|
|
11
|
+
|
|
12
|
+
def test_example(report_log, report_step):
|
|
13
|
+
with report_step("Verify"):
|
|
14
|
+
report_log.info("checking result")
|
|
15
|
+
...
|
|
16
|
+
"""
|
|
17
|
+
from .step import step
|
|
18
|
+
from .logger import ReportLogger
|
|
19
|
+
from .types import JsonReport, ReportStep, ReportEvent
|
|
20
|
+
|
|
21
|
+
__all__ = [
|
|
22
|
+
"step",
|
|
23
|
+
"ReportLogger",
|
|
24
|
+
"JsonReport",
|
|
25
|
+
"ReportStep",
|
|
26
|
+
"ReportEvent",
|
|
27
|
+
]
|