---
id: pytest-html
version: "4.2.0"
license: MPL-2.0
license_treatment: copyleft
maintenance: active
---
# pytest-html — pytest plugin for generating HTML reports
License: copyleft · Maintenance: active · Popularity: top 1,000 on PyPI
## Install
pip install pytest-html
uv add pytest-html
poetry add pytest-html
## Description
pytest-html
===========
pytest-html is a plugin for `pytest `_ that generates a HTML report for test results.
.. image:: https://img.shields.io/badge/license-MPL%202.0-blue.svg
:target: https://github.com/pytest-dev/pytest-html/blob/master/LICENSE
:alt: License
.. image:: https://img.shields.io/pypi/v/pytest-html.svg
:target: https://pypi.python.org/pypi/pytest-html/
:alt: PyPI
.. image:: https://img.shields.io/conda/vn/conda-forge/pytest-html.svg
:target: https://anaconda.org/conda-forge/pytest-html
:alt: Conda Forge
.. image:: https://github.com/pytest-dev/pytest-html/workflows/gh/badge.svg
:target: https://github.com/pytest-dev/pytest-html/actions
:alt: CI
.. image:: https://img.shields.io/requires/github/pytest-dev/pytest-html.svg
:target: https://requires.io/github/pytest-dev/pytest-html/requirements/?branch=master
:alt: Requirements
.. image:: https://codecov.io/gh/pytest-dev/pytest-html/branch/master/graph/badge.svg?token=Y0myNKkdbi
:target: https://codecov.io/gh/pytest-dev/pytest-html
:alt: Codecov
Resources
---------
- `Documentation `_
- `Release Notes...
## AI interpretation — verify before relying
pytest-html is a pytest plugin that generates HTML reports summarizing test results, including pass/fail status, timing, and metadata for each test execution.
Verdict: pytest-html is a mature, well-maintained testing utility in the top 1000 PyPI packages with no known vulnerabilities. Its copyleft license is standard for testing tools and poses no barrier to typical development use. Recommended for teams needing shareable HTML test reports.
[View on SkillFed](https://skillfed.io/packages/pytest-html) · [View on PyPI](https://pypi.org/project/pytest-html/)