PyReport is a lightweight reporting plugin for Pytest that provides concise HTML report
Project description
PyReport
Quick overview
PyReport is a lightweight reporting plugin for Pytest that provides concise HTML reports by parsing JunitXML test results
Pre-requisites
To be able to use this plugin you will need below dependencies:
- Python >=3.7
- Jinja2
- Pytest
Getting started
To start using PyReport please follow below instructions:
- Install
pytest-pyreport
plugin:
pip install pytest-pyreport==<version>
- Run tests using below command:
pytest --junitxml=result.xml -o junit_family="xunit1" --pyreport
- You should see
pyreport.html
file that auto generated by using above command.
Open it and check the test results as shown in below presentation
Presentation
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
pytest-pyreport-1.2.0.tar.gz
(8.6 kB
view details)
Built Distribution
File details
Details for the file pytest-pyreport-1.2.0.tar.gz
.
File metadata
- Download URL: pytest-pyreport-1.2.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bff11d1fcfbe870474648581edab5c252be94deea7a1a6921bd9a92bb46a0a0e |
|
MD5 | 826b862eb90c0de2dc6d7eb6104a0ed5 |
|
BLAKE2b-256 | e713ecea7a3bd380bd1668b7a1acf85f3a7e77862dd5720694fa3939b474470a |
File details
Details for the file pytest_pyreport-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: pytest_pyreport-1.2.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e53ca6f19e03cfde40b00d7d14797ca483dbf53bb9a9098e31d91c28daf0ce96 |
|
MD5 | d355c4a060e916d54fbc8b4c2772fd07 |
|
BLAKE2b-256 | c493d2538c65ce9d29d6c059a52dd1fbc1535de3b581d6a2973b21b5bb3e3d65 |