Attempting to run multiple tests using Xcode's new UI testing fails
问题 When I try to run multiple UI tests at the same time in the new Xcode beta, it fails after the first test, with the error "UI Testing Failure: App state is still not terminated" for each test after the first. Anyone got a fix for this? 回答1: I have faced the same issue. It seems that, at least in my case, application had never been terminated. I solved it by putting the following statement in the setUp() method: continueAfterFailure = false This should stop a running test process after first