How to start XCTest without starting the application?

When I try to run test cases in XCTest, I noticed that Xcode will always support the application first. Since my application launches a lot of things during initialization (for example: checking for new versions), I don't want it to start when I debug a test case.

Is there a way to run XCTest without activating the application?

+6
source share
1 answer

In the Xcode menu test, under Product.This will only run tests.

-2
source

All Articles