https://github.com/pytest-with-eric/pytest-html-example
How To Create Custom HTML Test Reports With pytest-html
https://github.com/pytest-with-eric/pytest-html-example
pytest-html pytest-html-reporter
Last synced: 7 days ago
JSON representation
How To Create Custom HTML Test Reports With pytest-html
- Host: GitHub
- URL: https://github.com/pytest-with-eric/pytest-html-example
- Owner: Pytest-with-Eric
- Created: 2024-05-19T13:30:23.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-24T07:19:50.000Z (over 1 year ago)
- Last Synced: 2025-07-02T13:52:22.051Z (8 months ago)
- Topics: pytest-html, pytest-html-reporter
- Language: HTML
- Homepage: https://pytest-with-eric.com/plugins/pytest-html/
- Size: 151 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pytest Generate HTML Report Example
This repo contains the sample code for the article - [How To Create Custom HTML Test Reports With pytest-html](https://pytest-with-eric.com/plugins/pytest-html/)
## Requirements
* Python (3.12)
## Installation
To install the project, you need to have Poetry installed. If you don't have it installed, you can install it by following the instructions [here](https://python-poetry.org/docs/#installation).
## Usage
To run the tests, you can use the following command:
```bash
$ poetry run pytest --html=report.html
```
or
```bash
$ poetry shell
$ pytest --html=report.html
```
If you have any questions about the project please raise an Issue on GitHub.