pytest-json
Generate JSON test reports
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release 2016-01-18, last commit 2017-11-14) and has not been maintained for years. It targets Python 2.7, 3.3, 3.4, 3.5 and pytest 2.7, all long obsolete. Install friction is high and there is no active maintenance or security oversight.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires pytest 2.7 or newer; targets Python 2.7, 3.3, 3.4, 3.5 which are obsolete
- High install friction and abandoned maintenance status.
- Last release was 2016-01-18 and last commit 2017-11-14.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.
last release 2016-01-18 (3861 days) · last repo commit 2017-11-14 · 15 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 328,193 downloads/mo, #7,557 on PyPI
Alternatives
Verify before relying
pip install pytest-json
py.test --json=report.json
or configure in pytest.ini:
[pytest]
json_report = report.json- Compatibility with pytest versions beyond 2.7 and Python versions beyond 3.5
- Whether the JSON schema or jsonapi output format remains compatible with current tools
- Status of any known issues or breaking changes since the last release
What it is and what it does
pytest-json is a pytest plugin that captures test execution results and writes them to a JSON file. It supports two output formats: a custom JSON structure and an optional JSON API-compliant format. The plugin allows you to specify the report path via command-line flag or pytest configuration file, and supports adding custom metadata at the environment, test, and stage levels through pytest hooks.
The package has no runtime dependencies and integrates directly into pytest's reporting pipeline. It was designed to work alongside pytest-html without conflicts. However, the project has been abandoned since 2016-01-18 and has not been updated to support modern Python or pytest versions, making it a significant compatibility risk for current development environments.
Use it for
- Export pytest results to JSON for consumption by CI/CD pipeline tools or dashboards
- Generate JSON API-compliant test reports for integration with downstream frameworks
- Capture test metadata and environment information in structured JSON format for post-processing
- Archive test results in a machine-readable format for historical analysis or compliance reporting
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release 2016-01-18, last commit 2017-11-14) and has not been maintained for years. It targets Python 2.7, 3.3, 3.4, 3.5 and pytest 2.7, all long obsolete. Install friction is high and there is no active maintenance or security oversight.
Install
pytest-json on PyPI
Before you install
High install friction and abandoned maintenance status. Last release was 2016-01-18 and last commit 2017-11-14. The package has not received updates in years.
Requires pytest 2.7 or newer; targets Python 2.7, 3.3, 3.4, 3.5 which are obsolete
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.
Quickstart
pip install pytest-json
py.test --json=report.json
or configure in pytest.ini:
[pytest]
json_report = report.json
Verify before relying
- Compatibility with pytest versions beyond 2.7 and Python versions beyond 3.5
- Whether the JSON schema or jsonapi output format remains compatible with current tools
- Status of any known issues or breaking changes since the last release
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,861 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 328,193 / month, #7,557 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Testing |
Evidence: pytest-json-0.4.0.tar.gz
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 json report generator”
- 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…
- pytest-htmlGenerates HTML reports for pytest test results, turning test…
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-xml · pytest-logging · pytest-json-report · pytest-html · pytest-item-dict · pytest-rich · pytest-excel · pytest-cython · pytest-jira-xray