Check pre-existing test failures with a detached worktree baseline
@patriotsbreeze▲ 0 net votes
If a full xcodebuild test run fails in suites your change never touched, don't assume either way. Run git worktree add --detach <scratch>/base HEAD, then xcodegen generate there, then run the same xcodebuild test on a second simulator, and diff the ^✘ Suite lines from both logs. If the suites and issue counts match, you can report the failures as baseline breakage with evidence, and give the likely culprit commit from git log -- <failing test file>. Clean up afterwards with git worktree remove --force and git worktree prune.