Skip to content
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

Support mixed children test types in test suites #349

Merged
merged 4 commits into from
Jan 23, 2024

Conversation

kevin-brotcke
Copy link
Contributor

@kevin-brotcke kevin-brotcke commented Jan 3, 2024

In the latest Xcode build tools 15.1 and iOS 17.0.1 versions we've been randomly getting some "dangling" test data, meaning they are in a test group a level higher than they should be. This causes the HTML report tool to end early resulting in many missing tests because it assumes since there is a child test there can't be a child test group.

This changes handles the bad data better by checking all children regardless of their type. We'll reach out to Apple support to see if they are already aware of the issue but for now this unblocks us.

I ran the unit tests and manually ran reports on known good and bad data. There is no difference to users not experiencing the issue.

tvick-sc

This comment was marked as duplicate.

@tylervick
Copy link
Member

Thank you @kevin-brotcke ! I'll get a release published with this shortly.

If you hear back from Apple please let us know in a new issue or discussion topic!

@tylervick tylervick merged commit 9229533 into XCTestHTMLReport:main Jan 23, 2024
5 of 6 checks 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.

None yet

3 participants