$npx skillfedfor your agent

pytest-html-reporter

Generates a static html report based on pytest framework

With conditionsPyPI TestingReleased Feb 202283.7K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — pytest-html-reporter-0.2.9.tar.gz · builds from source
v0.2.9 · released 2022-02-13 · Python >=3.5

Yes, with conditions. The package is lightweight, permissively licensed, and solves a real need for pytest users who want HTML reports. However, it has not been updated since 2022-02-13 and is marked as aging; before installing, verify that it works with your current pytest and Python versions. The lack of recent maintenance means unresolved issues may not be fixed.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • High install friction; no runtime dependencies but the package has not been updated since 2022-02-13 and maintenance is marked as aging, though the repository remains active.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, provided you include the license notice.

last release 2022-02-13 (1643 days) · last repo commit 2026-02-05 · 128 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 83,731 downloads/mo, #14,052 on PyPI

Verify before relying

pip install pytest-html-reporter

pytest tests/ --html-report=./report --title='Test Report'

For screenshots on failure:
from pytest_html_reporter import attach
attach(data=self.driver.get_screenshot_as_png())
  • Whether the package works reliably with pytest versions released after 2022-02-13
  • Compatibility with modern Python versions beyond the stated >=3.5 requirement
  • Whether the aging maintenance status indicates unresolved bugs or compatibility issues
Same gist for agents: .md · .json

What it is and what it does

pytest-html-reporter is a pytest plugin that generates static HTML reports from test execution results. It runs as a pytest command-line extension and produces a self-contained HTML file showing test outcomes, execution trends, suite highlights, and detailed test information. The plugin supports attaching screenshots on test failure (useful for UI testing with Selenium), test rerun tracking, and historical report archiving. It has no runtime dependencies and integrates directly into pytest's reporting pipeline via command-line flags or pytest.ini configuration.

The package is straightforward to use: install it, run pytest with `--html-report` to specify output location, and optionally add `--title` to customize the report heading. For screenshot capture, you import the `attach` function and call it with binary image data during test execution. The generated HTML is static and self-contained, suitable for sharing or archiving test results.

Use it for

  • Generate shareable HTML test reports for CI/CD pipelines to track test execution history and trends over time.
  • Capture and embed screenshots in test reports when UI tests fail, for debugging and documentation.
  • Archive test results with customizable paths and filenames to organize reports by test suite or date.
  • Display test suite highlights and overview statistics in a single-page HTML report for stakeholder review.
  • Integrate with pytest.ini to standardize report generation across a team's test infrastructure.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

The package is lightweight, permissively licensed, and solves a real need for pytest users who want HTML reports. However, it has not been updated since 2022-02-13 and is marked as aging; before installing, verify that it works with your current pytest and Python versions. The lack of recent maintenance means unresolved issues may not be fixed.

Install

pytest-html-reporter on PyPI

Before you install

High install friction; no runtime dependencies but the package has not been updated since 2022-02-13 and maintenance is marked as aging, though the repository remains active.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, provided you include the license notice.

Quickstart

pip install pytest-html-reporter

pytest tests/ --html-report=./report --title='Test Report'

For screenshots on failure:
from pytest_html_reporter import attach
attach(data=self.driver.get_screenshot_as_png())

Verify before relying

  • Whether the package works reliably with pytest versions released after 2022-02-13
  • Compatibility with modern Python versions beyond the stated >=3.5 requirement
  • Whether the aging maintenance status indicates unresolved bugs or compatibility issues

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.5
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAging 1,643 days since the last release
Last repo commit
First released
Downloads83,731 / month, #14,052 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Framework :: PytestLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: Software Development :: Testing

Evidence: pytest-html-reporter-0.2.9.tar.gz

Tags

Capabilities
pytest html report generatortest report html outputpytest test results visualizationhtml test reporterpytest report with screenshotstest execution report htmlpytest test history tracking
Topics
pytest-plugintest-reportinghtml-output
PyPI keywords
pytestpy.testhtmlreporterreport

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “html test reporter”

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pytest-pspec · qase-pytest · pytest-html · tdd-guard-pytest · reportportal-client · behavex-images · testrail-api · pytest-runner · pytest-reporter · pytest-pytestrail