{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing"}],"enrichment":{"capability":"A unittest test runner that exports test results to XML files in xUnit format, compatible with build systems, IDEs, and continuous integration servers.","skillfed_tags":["test-reporting","ci-integration","xml-output"],"use_cases":["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."],"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.\n\nYou 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.","worth_installing":"Yes. The package is stable (Production/Stable status), has no known vulnerabilities, requires only one lightweight dependency (lxml), and solves a concrete problem\u2014converting unittest results to xUnit XML\u2014that 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."},"id":"unittest-xml-reporting","links":{"html":"https://skillfed.io/packages/unittest-xml-reporting","md":"https://skillfed.io/packages/unittest-xml-reporting.md","pypi":"https://pypi.org/project/unittest-xml-reporting/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-07","license_spdx":"BSD-2-Clause","license_treatment":"permissive","name":"unittest-xml-reporting","python_support":"supports_current","summary":"unittest-based test runner with Ant/JUnit like XML reporting."},"popularity":{"monthly_downloads":8416842,"position":1624,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.0.0"}
