pytest-reporter
Generate Pytest reports with templates
Decision gist · record as of 2026-08-14
Yes, if you need templated test reports and are comfortable maintaining a template implementation yourself or using a third-party template package. The plugin is stable and has no known vulnerabilities, but dormant maintenance means it will not track pytest API changes proactively. Best suited for teams with established test reporting workflows that won't require frequent updates.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later.
- Template rendering is delegated to template implementations (e.g., Jinja2); the plugin itself provides only the hook interface.
- Low install friction with a single runtime dependency on pytest.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2024-02-28 (898 days) · last repo commit 2024-09-27 · 19 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 194,218 downloads/mo, #9,842 on PyPI
Alternatives
Verify before relying
pip install pytest-reporter
pytest --template-dir=templates --template=report.html --report=report.html- Whether dormant status (no releases since February 2024) affects compatibility with recent pytest versions.
- Availability and maturity of template packages like pytest-reporter-html1 referenced in the documentation.
What it is and what it does
pytest-reporter is a pytest plugin that acts as a bridge between test execution and custom report generation. Instead of producing fixed output formats, it collects test data and passes it to template implementations you provide or inherit. You specify a template directory and template name at runtime, and the plugin renders the report to your chosen output file.
The plugin exposes a rich context to templates—including test results, phases (setup, call, teardown), logs, warnings, and timing information—and delegates rendering logic to template implementations via a pytest hook. This design lets you generate any text-based format (HTML, LaTeX, CSV, plain text) by writing or reusing a template, without modifying the plugin itself. It's most useful when you need report formats beyond pytest's built-in options or want to standardize reporting across projects.
Use it for
- Generate branded HTML reports for CI/CD pipelines using a custom or inherited template.
- Create LaTeX or PDF reports for formal test documentation and compliance artifacts.
- Export test results as CSV for further analysis or integration with external tools.
- Standardize test report format across multiple projects by sharing a template package.
- Extend existing templates (like pytest-reporter-html1) to add project-specific sections or styling.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need templated test reports and are comfortable maintaining a template implementation yourself or using a third-party template package.
The plugin is stable and has no known vulnerabilities, but dormant maintenance means it will not track pytest API changes proactively. Best suited for teams with established test reporting workflows that won't require frequent updates.
Install
pytest-reporter on PyPI
Before you install
Low install friction with a single runtime dependency on pytest. Maintenance is dormant—no releases in 898 days, though the repository remains active with a last commit in September 2024. Suitable for stable use cases but do not expect rapid bug fixes or feature updates.
Requires Python 3.8 or later. Template rendering is delegated to template implementations (e.g., Jinja2); the plugin itself provides only the hook interface.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install pytest-reporter
pytest --template-dir=templates --template=report.html --report=report.html
Verify before relying
- Whether dormant status (no releases since February 2024) affects compatibility with recent pytest versions.
- Availability and maturity of template packages like pytest-reporter-html1 referenced in the documentation.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepytest |
| Maintenance | Dormant 898 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 194,218 / month, #9,842 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: Software Development :: Testing |
Evidence: pytest_reporter-0.5.3-py3-none-any.whl
Tags
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 › “pytest report generation”
- pytest-reporterA pytest plugin that generates customizable test reports from…
- pytest-reportlogWrites pytest test results to a JSON Lines file in real-time,…
- pytest-html-reporterGenerates static HTML test reports from pytest test runs, with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
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.
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.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
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.
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.
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.
See also pytest-reporter-html1 · pytest-json-report · pytest-reportlog · pytest-pretty · pytest-xml · pytest-logging · pytest-html · pytest-metadata · pytest-html-reporter · pytest-check