pytest-json-report
A pytest plugin to report test results as JSON files
Decision gist · record as of 2026-08-14
Yes, if you need JSON-formatted test reports and can tolerate maintenance risk. The plugin is stable and low-friction to install, but it is abandoned—no releases since 2022-03-15. Before adopting, verify compatibility with your pytest version and assess whether the lack of ongoing maintenance poses a risk for your workflow.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction; depends only on pytest and pytest-metadata.
- However, the package is marked abandoned with no releases since 2022-03-15, though the repository remains unarchived and the last commit was 2023-07-31.
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 2022-03-15 (1613 days) · last repo commit 2023-07-31 · 156 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 15,022,199 downloads/mo, #1,202 on PyPI
Alternatives
Verify before relying
pip install pytest-json-report
pytest --json-report -v tests/
cat .report.json- Whether the package remains functional with current pytest versions despite no releases since 2022
- Current maintenance status and responsiveness to issues or pull requests
What it is and what it does
pytest-json-report is a pytest plugin that transforms test execution results into JSON format, making it easy to integrate test data into external systems, dashboards, or analysis pipelines. It captures test outcomes, execution metadata, captured output, logs, exception tracebacks, and environment details in a structured JSON file.
The plugin runs as a pytest extension and can be invoked with command-line flags to control report scope (full details or summary-only), field inclusion, indentation, and output location. It also provides hooks and fixtures for adding custom metadata to individual tests or modifying the entire report before serialization, allowing teams to tailor reports to their specific CI/CD or reporting workflows.
Use it for
- Integrate pytest results into CI/CD dashboards or reporting systems that consume JSON
- Extract test metrics and trends for analysis without parsing text-based test output
- Add custom metadata to test runs for correlation with deployment or build information
- Generate lightweight summary reports when full test details are not needed
- Automate post-test processing or notifications based on structured test data
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need JSON-formatted test reports and can tolerate maintenance risk.
The plugin is stable and low-friction to install, but it is abandoned—no releases since 2022-03-15. Before adopting, verify compatibility with your pytest version and assess whether the lack of ongoing maintenance poses a risk for your workflow.
Install
pytest-json-report on PyPI
Before you install
Low install friction; depends only on pytest and pytest-metadata. However, the package is marked abandoned with no releases since 2022-03-15, though the repository remains unarchived and the last commit was 2023-07-31.
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-json-report
pytest --json-report -v tests/
cat .report.json
Verify before relying
- Whether the package remains functional with current pytest versions despite no releases since 2022
- Current maintenance status and responsiveness to issues or pull requests
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespytestpytest-metadata |
| Maintenance | Abandoned 1,613 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 15,022,199 / month, #1,202 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 :: PytestProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: pytest_json_report-1.5.0-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 › “json test reporting”
- pytest-json-reportA pytest plugin that generates JSON-formatted test reports, enabling…
- pytest-jsonA pytest plugin that generates JSON reports of test results, with…
- pytest-json-ctrfA pytest plugin that generates test reports in Common Test Report…
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-reportlog · pytest-json · pytest-reporter · pytest-tinybird · pytest-pretty · pytest-reporter-html1 · pytest-html · pytest-custom-report · pytest-md-report