Hi everyone đ
Iâve been building a plugin to make Pytest reports more insightful and easier to consume â especially for teams working with parallel tests, CI pipelines, and flaky test cases.
đ What My Project Does
I’ve built a Pytest plugin that:
Automatically Merges multiple JSON reports (great for parallel test runs) đ Detects flaky tests (based on reruns) đ Adds traceability links Powerful filters more than just pass/fail/skip however you want. đ§Ÿ Auto-generates clean, customizable HTML reports đ Summarizes stdout/stderr/logs clearly per test đ§ Actionable test paths to quickly copy and run your tests in local. Option to send email via sendgrid
Itâs built to be plug-and-play with and without existing Pytest setups and integrates less than 2min in the CI without any config from your end.
Target Audience
This plugin is aimed at:
Backend / QA engineers who want clearer test visibility. Teams running tests in CI environments with reruns / retries. Projects that need clean test artifacts for debugging or audits. Anyone using parallel test execution (e.g. pytest-xdist) and wants to merge JSON output meaningfully.
Comparison with Alternatives
Most existing tools either:
Only generate HTML reports from a single run (like pytest-html). Donât support merging reports across parallel runs out of the box. Lack flaky detection, external traceability links, or log visibility. Lacks filters beyond fail/pass
This plugin aims to fill those gaps by acting as a companion layer on top of the JSON report, focusing on:
đ Merge + flakiness intelligence đ Traceability via metadata đ§Œ HTML thatâs both readable and minimal
Why Python?
This plugin is written in Python and designed for Python developers using Pytest. It integrates using familiar Pytest hooks and conventions (markers, fixtures, etc.) and requires no major code changes in the test suite.
Installation
pip install pytest-reporter-plus
Links
GitHub: https://github.com/reach2jeyan/pytest-reporter-plus â PyPI: https://pypi.org/project/pytest-reporter-plus
Motivation
Iâm building and maintaining this in my free time, and would really appreciate:
â Stars if you find it useful đ Bug reports, feedback, or PRs if you try it out
submitted by /u/reach2jeyan to r/Python
[link] [comments]
Laisser un commentaire