--- id: pytest-json-report version: "1.5.0" license: MIT license_treatment: permissive maintenance: abandoned --- # pytest-json-report — A pytest plugin to report test results as JSON files License: permissive · Maintenance: abandoned · Downloads: 15.0M/mo ## 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 above — verify before relying. A pytest plugin that generates JSON-formatted test reports, enabling test results to be processed by other applications or analysis tools. 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 pip install pytest-json-report uv add pytest-json-report poetry add pytest-json-report ## Installing pytest-json-report 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: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 15.0M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags pytest json report plugin, test results to json, pytest report export, json test reporting, pytest test data extraction, automated test reporting, pytest output formatting, pytest-plugin, test-reporting, ci-cd [View on SkillFed](https://skillfed.io/packages/pytest-json-report) · [View on PyPI](https://pypi.org/project/pytest-json-report/)