This repo contains the sample code for the article - How To Create Custom HTML Test Reports With pytest-html
- Python (3.12)
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.
To run the tests, you can use the following command:
$ poetry run pytest --html=report.htmlor
$ poetry shell
$ pytest --html=report.htmlIf you have any questions about the project please raise an Issue on GitHub.