Repository navigation
fix: revert the whole Swift Testing suite paths of 0.5.1 - #43
Merged
Merged
Conversation
Reverts 6579484, 629bed7, 224985c and 20da98b. 0.5.1 recorded nested Swift Testing tests under their whole suite path, which Tuist's server doesn't match to test case runs yet, so those tests got no new coverage evidence. This restores 0.5.0's behavior: records, unskippable.tsv and the skip list name the innermost suite. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Reverts every code change of 0.5.1 (#42): 6579484, 629bed7, 224985c and 20da98b. The source, tests, fixtures and README are back to exactly 0.5.0; only the generated
CHANGELOG.mdkeeps its 0.5.1 entry. Merging releases 0.5.2 with 0.5.0's behavior.Why
0.5.1 recorded Swift Testing tests in nested suites under their whole suite path (
Outer/Inner) inrecords.bin. Tuist's server onmainstores test case runs under the innermost suite (Inner) and matches per-test evidence to them bymodule␟suite␟name, so with 0.5.1:Nothing was wrongly skipped, but nested tests lost savings and fresh evidence. The full-path change only makes sense together with the server change (tuist/tuist#15645), so it's reverted until then.
What the revert gives up:
Module/Outer/Inner/test()). After the revert, those lines match nothing again and the test runs. The server onmainsends innermost names, so nothing changes today.Validation
0.5.0tag except forCHANGELOG.md(git diff 0.5.0 -- . ':!CHANGELOG.md'is empty).swift test --filter 'skipsTheListed|recordsOneScope|runsEveryTestWithoutASkipList'on Xcode 26.3 / Swift 6.2.4: 4 tests passed.mise run lint: clean.🤖 Generated with Claude Code