Skip to content

About

How To Create Custom HTML Test Reports With pytest-html

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Pytest Generate HTML Report Example

This repo contains the sample code for the article - How To Create Custom HTML Test Reports With 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.

Usage

To run the tests, you can use the following command:

$ poetry run pytest --html=report.html

or

$ poetry shell
$ pytest --html=report.html

If you have any questions about the project please raise an Issue on GitHub.

About

How To Create Custom HTML Test Reports With pytest-html

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages