Pytest reporter that writes testreport.io viewer-compatible JSON for Playwright Python projects.
Project description
testreport-io-pytest
Pytest reporter for Playwright Python projects. It writes the same
custom-report/<runId>/results.json format consumed by the
testreport.io-io npm viewer.
Local Install
From this package folder:
pip install -e .
Usage
Run pytest normally:
pytest
npx playwright-viewer serve --report-dir custom-report
Use a custom report directory:
pytest --testreport-dir custom-report
Disable the reporter for one run:
pytest --testreport-disable
Notes
This plugin is for Python/pytest. JavaScript Playwright projects should keep
using the npm reporter from testreport.io-io/reporter.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file testreport_io_pytest-0.1.0.tar.gz.
File metadata
- Download URL: testreport_io_pytest-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71b00d9489411b086295a38f70b7ea860451ec6ae5881c95f1a364d7a98721a1
|
|
| MD5 |
37223fa337e4b1ca3503b6e82b1147f3
|
|
| BLAKE2b-256 |
6f2bb1f8b8e456aee8f3c1aed07da03c6700b8ba323878ad094cc3e9599588a8
|
File details
Details for the file testreport_io_pytest-0.1.0-py3-none-any.whl.
File metadata
- Download URL: testreport_io_pytest-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
328e4574abb38eb6ab9b70ccadbc75287889f1eb62b8a87632eb4e03da79bc71
|
|
| MD5 |
f82dd3bdd2be032fdcfdb6f228b99749
|
|
| BLAKE2b-256 |
26cfee8dc54a3346a363eb73974eff573aca842990b893af5b26c6d37a17cb16
|