Skip to content

Implement coverage xml#2232

Open
lingfish wants to merge 2 commits intopypa:masterfrom
lingfish:implement-coverage-xml
Open

Implement coverage xml#2232
lingfish wants to merge 2 commits intopypa:masterfrom
lingfish:implement-coverage-xml

Conversation

@lingfish
Copy link
Copy Markdown

@lingfish lingfish commented Apr 2, 2026

This hopefully and acceptably addresses #2042.

lingfish added 2 commits April 2, 2026 12:55
Implements feature to generate XML coverage reports when running tests.
Adds two new CLI options:
- --cover-xml: Generate XML coverage report after tests, implicitly enables --cover
- --cover-xml-output: Custom path for the XML coverage report file

This resolves issue pypa#2042 by providing a built-in way to generate
coverage.xml without needing custom scripts.
Updates testing configuration and tutorial docs to describe:
- --cover-xml: Generate XML coverage report after tests
- --cover-xml-output: Custom path for the XML report file
- Interaction with --cover-quiet flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant