pytest-xml
Create simple XML results for parsing
Decision gist · record as of 2026-08-14
No—not yet. The package is in beta, dormant since release, lacks documentation (features and usage are marked TODO), and has minimal community adoption. Install only if you specifically need XML output from pytest and are willing to explore or contribute to an early-stage, unmaintained project. For production use, consider more established pytest XML plugins.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later.
- Low install friction with a pure-Python wheel.
- Maintenance is dormant—the package was released on 2024-11-14 and has not been updated since, with only 1 repository star.
License · maintenance · safety
(unclear) — Dual-licensed under BSD-3-Clause and Mozilla Public License 2.0. Both are permissive open-source licenses compatible with most projects, though the dual licensing may require tracking both terms if you redistribute or modify the code.
last release 2024-11-14 (638 days) · last repo commit 2024-11-14 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 176,582 downloads/mo, #10,240 on PyPI
Alternatives
Verify before relying
pip install pytest-xml
import pytest
# Run pytest with the plugin to generate XML output
# pytest --xml=results.xml your_tests.py- What XML schema or format the plugin produces and whether it matches JUnit or another standard.
- Whether the plugin is actively maintained or if the dormant status indicates abandoned development.
- How the plugin integrates with pytest-metadata and what metadata is included in the XML output.
What it is and what it does
pytest-xml is a pytest plugin that converts test results into XML format suitable for parsing by CI/CD systems, test dashboards, and other tools. It depends on pytest, pytest-metadata, dict2xml, and jinja2 to generate structured XML reports from test runs.
The plugin is in beta status and was first released in November 2024. It is designed for developers who need to export pytest results to XML for integration with external systems, though the package remains largely undocumented—the description notes "TODO" for both features and usage instructions. The codebase has not been updated since its initial release, and community engagement is minimal.
Use it for
- Export pytest results to XML for ingestion by CI/CD pipelines that expect structured test reports.
- Generate test reports in XML format for integration with test management or quality assurance platforms.
- Create machine-readable test output for downstream analysis, aggregation, or dashboard visualization.
- Automate test result parsing by converting pytest output to a standardized XML structure.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—not yet.
The package is in beta, dormant since release, lacks documentation (features and usage are marked TODO), and has minimal community adoption. Install only if you specifically need XML output from pytest and are willing to explore or contribute to an early-stage, unmaintained project. For production use, consider more established pytest XML plugins.
Install
pytest-xml on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance is dormant—the package was released on 2024-11-14 and has not been updated since, with only 1 repository star. Dormant status suggests limited community adoption or active development.
Requires Python 3.11 or later.
License in practice
Dual-licensed under BSD-3-Clause and Mozilla Public License 2.0. Both are permissive open-source licenses compatible with most projects, though the dual licensing may require tracking both terms if you redistribute or modify the code.
Quickstart
pip install pytest-xml
import pytest
# Run pytest with the plugin to generate XML output
# pytest --xml=results.xml your_tests.py
Verify before relying
- What XML schema or format the plugin produces and whether it matches JUnit or another standard.
- Whether the plugin is actively maintained or if the dormant status indicates abandoned development.
- How the plugin integrates with pytest-metadata and what metadata is included in the XML output.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagespytestpytest-metadatadict2xmljinja2 |
| Maintenance | Dormant 638 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 176,582 / month, #10,240 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseLicense :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Quality AssuranceTopic :: Software Development :: TestingTopic :: Utilities |
Evidence: pytest_xml-0.1.1-py3-none-any.whl
Tags
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 › “pytest xml output”
- pytest-xmlA pytest plugin that generates XML output from test results for…
- pytest-nunitA pytest plugin that generates NUnit3-format XML test result reports,…
- pytest-metadataA pytest plugin that captures and exposes test session…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
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.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
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.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also data-to-xml · pytest-html · pytest-json · pytest-logging · pytest-rich · pytest-item-dict · pytest-selenium · pytest-cookies · pytest-helpers-namespace · pytest-messenger