Skip to content

Conversation

@gfontenot
Copy link
Contributor

Previously, we were only ever parsing the first failure for a test and passing that to the JUnit representation. However, a test might contain multiple failures and this is fully supported by the JUnit spec.

To fix the issue, we'll collect all failures from the XCResult file and pass them to the JUnit result a list. This will prevent us from losing important diagnostic information from the test result.

Previously, we were only ever parsing the first failure for a test and
passing that to the JUnit representation. However, a test might contain
multiple failures and this is fully supported by the JUnit spec.

To fix the issue, we'll collect all failures from the XCResult file and
pass them to the JUnit result a list. This will prevent us from losing
important diagnostic information from the test result.
Copy link
Owner

@a7ex a7ex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sharing the improvement.

@a7ex a7ex merged commit f073f8b into a7ex:main Dec 19, 2025
1 check passed
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.

4 participants