{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/3"}],"enrichment":{"capability":"A pytest plugin that generates NUnit3-format XML test result reports, enabling integration with test result publishing systems like Azure Pipelines.","skillfed_tags":["ci-cd-integration","test-reporting"],"use_cases":["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."],"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.\n\nThe 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\u2014record_nunit_property and add_nunit_attachment\u2014that let individual tests add custom properties and file attachments to their NUnit records. It handles skipped tests, xfails, and xpasses with appropriate XML representation.","worth_installing":"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."},"id":"pytest-nunit","links":{"html":"https://skillfed.io/packages/pytest-nunit","md":"https://skillfed.io/packages/pytest-nunit.md","pypi":"https://pypi.org/project/pytest-nunit/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-02-26","license_spdx":null,"license_treatment":"permissive","name":"pytest-nunit","python_support":"supports_current","summary":"A pytest plugin for generating NUnit3 test result XML output"},"popularity":{"monthly_downloads":629105,"position":5670,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.7"}
