I set up UI testing MyProjectUITests in Xcode 7 and I also added a new unit test in to target MyProjectTests. However, when I typed Command + U, it seems like Xcode always testing my project with UI Testing.
Question: How could I choose to build specifically for UI testing or unit testing if need ?
Select your scheme. Edit scheme ->Test- > Add Unit test with '+' button

To choose to build specifically you can check/uncheck the checkbox under Test.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With