$npx skillfedfor your agent

unittest-xml-reporting

unittest-based test runner with Ant/JUnit like XML reporting.

Worth itPyPI Python ModulesReleased Jan 20268.4M downloads / moBSD-2-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — unittest_xml_reporting-4.0.0-py2.py3-none-any.whl
v4.0.0 · released 2026-01-07 · Python >=3.10 · 1 runtime deps: lxml

Yes. The package is stable (Production/Stable status), has no known vulnerabilities, requires only one lightweight dependency (lxml), and solves a concrete problem—converting unittest results to xUnit XML—that CI/CD pipelines and test aggregators expect. Aging maintenance (219 days since last release) is a minor concern but not a blocker given the package's narrow, mature scope. Install it if you need xUnit-compatible test reports.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; lxml is installed as a runtime dependency.
  • Low install friction with a single runtime dependency (lxml).
  • Maintenance status is aging—last release was 219 days ago—but the repository remains active with recent commits and no archived status.

License · maintenance · safety

BSD-2-Clause (permissive) — BSD-2-Clause is a permissive license; you may use, modify, and distribute this package with minimal restrictions, provided you retain the license notice.

last release 2026-01-07 (219 days) · last repo commit 2026-01-07 · 307 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 8,416,842 downloads/mo, #1,624 on PyPI

Verify before relying

pip install unittest-xml-reporting

import unittest

if __name__ == '__main__':
    unittest.main(
        testRunner=XMLTestRunner(output='test-reports'),
        failfast=False, buffer=False, catchbreak=False)
  • Whether the package's limited support for unittest.TestCase.subTest affects your test suite's reporting granularity.
  • Compatibility with specific CI/CD systems beyond Jenkins xUnit plugin versions 1.100 and 1.104+.
  • Whether the package maintains backward compatibility with older xUnit schemas.
Same gist for agents: .md · .json

What it is and what it does

unittest-xml-reporting is a test runner for Python's built-in unittest framework that captures test results and writes them to XML files in xUnit format. It integrates directly into your test execution pipeline by replacing the default test runner, and outputs structured reports that tools like build systems and continuous integration servers can parse and display. The package depends only on lxml for XML generation.

You use it by instantiating XMLTestRunner in place of the standard unittest runner, pointing it to an output directory or file. It supports command-line discovery and doctest reporting. The XML output follows the xUnit schema, though the package notes that sub-test reporting has limited granularity because xUnit schemas do not map well to unittest's sub-test concept.

Use it for

  • Export unittest results to XML for continuous integration servers to parse and display test metrics.
  • Generate structured test reports that build systems and IDEs can consume to show test pass/fail status.
  • Run doctests through the test runner to produce xUnit-compatible reports.
  • Integrate with Django test runners by setting TEST_RUNNER to the package's Django test runner.
  • Capture test results to memory or file for post-processing or archival in automated test pipelines.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is stable (Production/Stable status), has no known vulnerabilities, requires only one lightweight dependency (lxml), and solves a concrete problem—converting unittest results to xUnit XML—that CI/CD pipelines and test aggregators expect. Aging maintenance (219 days since last release) is a minor concern but not a blocker given the package's narrow, mature scope. Install it if you need xUnit-compatible test reports.

Install

unittest-xml-reporting on PyPI

Before you install

Low install friction with a single runtime dependency (lxml). Maintenance status is aging—last release was 219 days ago—but the repository remains active with recent commits and no archived status.

Requires Python 3.10 or later; lxml is installed as a runtime dependency.

License in practice

BSD-2-Clause is a permissive license; you may use, modify, and distribute this package with minimal restrictions, provided you retain the license notice.

Quickstart

pip install unittest-xml-reporting

import unittest

if __name__ == '__main__':
    unittest.main(
        testRunner=XMLTestRunner(output='test-reports'),
        failfast=False, buffer=False, catchbreak=False)

Verify before relying

  • Whether the package's limited support for unittest.TestCase.subTest affects your test suite's reporting granularity.
  • Compatibility with specific CI/CD systems beyond Jenkins xUnit plugin versions 1.100 and 1.104+.
  • Whether the package maintains backward compatibility with older xUnit schemas.

Package facts

LicenseBSD-2-Clause permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
lxml
MaintenanceAging 219 days since the last release
Last repo commit
First released
Downloads8,416,842 / month, #1,624 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Testing

Evidence: unittest_xml_reporting-4.0.0-py2.py3-none-any.whl

Tags

Capabilities
unittest xml reportingxunit test runnerjunit xml outputci test reportstest result xml exportxmlrunnerunittest xml formatter
Topics
test-reportingci-integrationxml-output
PyPI keywords
pyunitunittestjunit xmlxunitreporttestrunnerxmlrunner

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 › “xunit test runner”

  • unittest-xml-reportingA unittest test runner that exports test results to XML files in…
  • junitparserParse, create, and manipulate JUnit/xUnit test result XML files,…
  • xunitparserParses JUnit/XUnit XML test result files and maps them to Python…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also xmlrunner · xunitparser · html-testRunner · junit2html · junitparser · teamcity-messages · python-subunit · junit-xml-2 · colour-runner · flake8-formatter-junit-xml