{"id":27307,"library":"pytest-xml","title":"pytest-xml","description":"A pytest plugin for generating simple XML test results for external parsing. Currently at v0.1.1 (requires Python >=3.11). Minimal maintenance, no recent updates.","status":"active","version":"0.1.1","language":"python","source_language":"en","source_url":"https://github.com/anogowski/pytest-xml","tags":["pytest","plugin","xml","reporting","test-output"],"install":[{"cmd":"pip install pytest-xml","lang":"bash","label":"pip install"}],"dependencies":[{"reason":"Plugin requires pytest to run","package":"pytest","optional":false}],"imports":[{"note":"Plugins are auto-discovered; explicit import not required and may cause import errors.","wrong":"import pytest_xml","symbol":"pytest-xml","correct":"pytest-xml is a plugin; no import needed. Enable via --xml or pytest.ini."},{"note":"No public Python API; only CLI option.","wrong":"from pytest_xml import *","symbol":"xml_plugin","correct":"No symbol to import; use pytest --xml=output.xml"}],"quickstart":{"code":"# Run tests with XML output\npytest --xml=results.xml","lang":"bash","description":"Generate an XML report for test results. The --xml flag outputs results to the specified file."},"warnings":[{"fix":"Upgrade Python to 3.11+ or avoid using this plugin.","message":"The plugin only supports Python >=3.11. Older Pythons will cause installation failures.","severity":"gotcha","affected_versions":"<0.1.1 (no older versions published)"},{"fix":"Use --junitxml if JUnit format is needed (built-in pytest flag).","message":"No --junitxml conflict? pytest-xml outputs simple XML structure, not JUnit format. Do not expect JUnit attributes.","severity":"breaking","affected_versions":"all"},{"fix":"Consider using built-in --junitxml or a more maintained plugin like pytest-reportlog.","message":"The project has no recent updates; may be abandoned. No issue tracker activity.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"search_vec":"'3.11':21 'current':16 'extern':14 'generat':8 'mainten':23 'minim':22 'output':33 'pars':15 'plugin':6,28 'pytest':2,5,27 'pytest-xml':1 'python':20 'recent':25 'report':30 'requir':19 'result':12 'simpl':9 'test':11,32 'test-output':31 'updat':26 'v0.1.1':18 'xml':3,10,29","created_at":"2026-05-01T17:45:34.761715+00:00","updated_at":"2026-05-01T17:45:34.761715+00:00","problems":{"verify_error":"no import statement found"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"pytest","cli_version":"pytest 9.0.3","type":"library","homepage":null,"github":"https://github.com/anogowski/pytest-xml","docs":null,"changelog":null,"pypi":"https://pypi.org/project/pytest-xml/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"skip","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-06","install_tag":null}}