Reputation: 971
Can we stop termination of app in between XCUITests cases?
I am running 30 UI test cases in which I wanted to run continuously without termination of app using XCUITests.
Upvotes: 1
Views: 539
Reputation: 1661
In such case, you should launch your application once in your first test method, not in the setUp
method.
But bare in mind that the execution order of the test methods is not specified. Methods can run in different order using Product -> Test
and different when you run from "Test Navigator"
Upvotes: 1