Comparison
junit-xml vs junit-xml-2 vs unittest-xml-reporting
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-xmlFork of https://github.com/kyrus/python-junit-xml that has tarball published to pypi
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install junit-xml-2unittest-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-reportingIn short
- junit-xml looks abandoned: avoid it for new projects.
- junit-xml-2 looks abandoned: avoid it for new projects.
- unittest-xml-reporting is the most used: 5.9M downloads a month.
- unittest-xml-reporting also has the best Pythie’s Index (34).
Side by side
| Metric | junit-xml | junit-xml-2 | unittest-xml-reporting |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | 19 |