Skip to content

junit-xml: support pytest unittest #2278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

thseiler
Copy link
Contributor

This PR adds a new heuristic to junit_xml_reader.py for pytest to correctly derive the path and fully qualified function names for situations where tests are methods (e.g., a TestClass deriving from unittest.TestCase).

@thseiler thseiler force-pushed the feature/support-pytest-unittest branch from 943bbea to cfe2024 Compare May 27, 2025 11:22
@stanislaw stanislaw added this to the 2025-Q2 milestone May 27, 2025
@stanislaw stanislaw merged commit 34a0a7b into strictdoc-project:main May 27, 2025
14 checks passed
@thseiler thseiler deleted the feature/support-pytest-unittest branch May 27, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants