r/Xcode • u/apex-lucis • Oct 14 '26
Xcode not showing the right number of tests?
/r/macosprogramming/comments/1x60ymu/xcode_not_showing_the_right_number_of_tests/
2
Upvotes
r/Xcode • u/apex-lucis • Oct 14 '26
2
u/olegonthetrip Oct 15 '26
I'd first check whether the new tests are missing from execution or just from the displayed count. Run the intended test target, then open the latest Test report in the Report navigator and look for one of the new test names.
If it isn't there, check the active scheme/test plan, any included or excluded tags, and that the new file belongs to the test target. If it does run, that narrows it down to what the navigator is displaying.
Which Xcode version, and are these XCTest or Swift Testing tests? Apple's guide covers switching test plans and inspecting the resulting report: https://developer.apple.com/documentation/xcode/running-tests-and-interpreting-results
2
u/cinnamonblush2 Oct 15 '26
Must be a glitch. Didn’t notice that today