Comparison
junit-xml vs unittest-xml-reporting vs xmlrunner
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Creates JUnit XML test result documents that can be read by tools such as Jenkins
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install junit-xmlunittest-based test runner with Ant/JUnit like XML reporting.
Low maintenance activity. Last release 11 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install unittest-xml-reportingPyUnit-based test runner with JUnit like XML reporting.
Likely abandoned. No release or commit for years (last release over 12 years ago).
$
pip install xmlrunnerIn short
- junit-xml looks abandoned: avoid it for new projects.
- xmlrunner looks abandoned: avoid it for new projects.
- unittest-xml-reporting is the most used: 6.1M downloads a month.
- unittest-xml-reporting also has the best Pythie’s Index (34).
- unittest-xml-reporting is growing fastest: downloads +10% over the last month.
Side by side
| Metric | junit-xml | unittest-xml-reporting | xmlrunner |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | Pythie’s Index: 34 | Pythie’s Index: 21 |
| Verdict | Likely abandoned | Low maintenance activity | Likely abandoned |
| Downloads / month | 11M | 6.1M | 262.6K |
| Downloads, month over month | +10% | +10% | -14% |
| GitHub stars | 124 | 307 | 3 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 66 | 28 | 16 |
| Last release | Feb 22, 2020 | Jan 7, 2026 | Nov 10, 2014 |
| Releases, 12 months | 0 | 1 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 16 | 14 | 20 |
| First release | Jan 2013 | Oct 2008 | Dec 2013 |
| Python versions | – | 3.10 – 3.14 | – |
| License | MIT | BSD-2-Clause | non-standard |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.