I have written some tests with UITesting and Swift. Before I upgraded to Xcode 7.1 I used to be able to have my application running from Xcode and then I could run an individual UI test from Xcode and my application would not close before the test started. Now when I run the test Xcode closes my application and starts it again before running the test. I have looked through the build settings for something that may be causing this but did not see anything. Is there a build settings that they introduced in 7.1 that causes this?
Xcode 7.1 closing application on test startup
Are you launching the app in the setup? If you call XCUIApplication.launch() on an already running instanace of your app, it will kill it and then relaunch.
I am not using launch() on an already running instance.