$npx skillfedfor your agent

pytest-nunit

A pytest plugin for generating NUnit3 test result XML output

With conditionsPyPI TestingReleased Feb 2024629.1K downloads / moMIT LicenseSource build

Decision gist · record as of 2026-08-14

sdist only — pytest-nunit-1.0.7.tar.gz · builds from source
v1.0.7 · released 2024-02-26 · Python >=3.6

Yes, if you need NUnit3 XML output for Azure Pipelines or another system that consumes that format. The package is stable and has no known vulnerabilities, but its dormant status (no updates in 900 days) means you should verify compatibility with your current Pytest version before relying on it in production. For simple test reporting, consider whether a more actively maintained alternative exists.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6+ and Pytest 5.1.0+; the package is dormant and may have compatibility issues with very recent pytest versions.
  • High install friction due to being a standalone archive distribution.
  • The package is dormant—last release was 900 days ago—but remains marked Production/Stable and supports current Python versions including 3.10, 3.11, and 3.12.

License · maintenance · safety

MIT License (permissive) — MIT License (permissive) places no restrictions on use, modification, or redistribution in proprietary or open-source projects.

last release 2024-02-26 (900 days) · last repo commit 2024-02-25 · 10 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 629,105 downloads/mo, #5,670 on PyPI

Verify before relying

pip install pytest-nunit

pytest tests/ --nunit-xml=results.xml

# In a test file:
def test_example(record_nunit_property):
    record_nunit_property("key", "value")
    assert True
  • Whether the package remains compatible with Pytest versions released after February 2024.
  • Whether high install friction (tar.gz distribution) reflects current packaging or a historical artifact.
  • Current maintenance status and responsiveness to bug reports or pull requests.
Same gist for agents: .md · .json

What it is and what it does

pytest-nunit is a pytest plugin that converts test results into NUnit3-format XML output, primarily for integration with CI/CD systems like Azure Pipelines. It runs as part of your normal pytest invocation and generates an XML file containing test outcomes, properties, attachments, and failure details.

The plugin provides command-line options to specify the output file path and test name prefix, plus INI configuration for including system metadata and controlling attachment behavior. It exposes two fixtures—record_nunit_property and add_nunit_attachment—that let individual tests add custom properties and file attachments to their NUnit records. It handles skipped tests, xfails, and xpasses with appropriate XML representation.

Use it for

  • Publishing pytest results to Azure Pipelines using the NUnit test result format.
  • Generating machine-readable test reports for CI/CD systems that consume NUnit XML.
  • Attaching logs, screenshots, or other artifacts to individual test cases in the XML output.
  • Recording custom metadata (properties) on test cases for downstream analysis or filtering.
  • Integrating pytest into enterprise test management systems that expect NUnit format.

Worth the install?

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

With conditions

Yes, if you need NUnit3 XML output for Azure Pipelines or another system that consumes that format.

The package is stable and has no known vulnerabilities, but its dormant status (no updates in 900 days) means you should verify compatibility with your current Pytest version before relying on it in production. For simple test reporting, consider whether a more actively maintained alternative exists.

Install

pytest-nunit on PyPI

Before you install

High install friction due to being a standalone archive distribution. The package is dormant—last release was 900 days ago—but remains marked Production/Stable and supports current Python versions including 3.10, 3.11, and 3.12.

Requires Python 3.6+ and Pytest 5.1.0+; the package is dormant and may have compatibility issues with very recent pytest versions.

License in practice

MIT License (permissive) places no restrictions on use, modification, or redistribution in proprietary or open-source projects.

Quickstart

pip install pytest-nunit

pytest tests/ --nunit-xml=results.xml

# In a test file:
def test_example(record_nunit_property):
    record_nunit_property("key", "value")
    assert True

Verify before relying

  • Whether the package remains compatible with Pytest versions released after February 2024.
  • Whether high install friction (tar.gz distribution) reflects current packaging or a historical artifact.
  • Current maintenance status and responsiveness to bug reports or pull requests.

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.6
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceDormant 900 days since the last release
Last repo commit
First released
Downloads629,105 / month, #5,670 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Testing

Evidence: pytest-nunit-1.0.7.tar.gz

Tags

Capabilities
pytest nunit xml outputtest result xml generationazure pipelines test reportingnunit3 xml pytest plugintest report xml formatpytest test results exportci/cd test result publishing
Topics
ci-cd-integrationtest-reporting

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 nunit xml output”

  • pytest-nunitA pytest plugin that generates NUnit3-format XML test result reports,…
  • pytest-azurepipelinesA pytest plugin that automatically formats test output and uploads…
  • pytest-xmlA pytest plugin that generates XML output from test results for…

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

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pytest-azurepipelines · pytest-html · pytest-custom-report · pytest-pspec · pytest-excel · pytest-md-report · pylint-junit · pytest-runtime-xfail · junit-xml-2