November 2016
Beginner
480 pages
11h 10m
English
Now that we've cut our teeth on unit testing in Xcode, let's apply our new skills back in our Snippets application. In this section, we'll learn how to set up unit tests in an existing project that didn't start with testing targets, and then write some tests for our application to ensure everything is working as expected.
Setting up our project with unit tests is relatively simple. Since we're starting out without anything, we're going to need to create a new unit testing target, and then make sure all of our build settings are set properly:

Figure 13.11: Creating a new unit test target ...
Read now
Unlock full access