Adding Test Targets
Expand the scope of your unit testing by adding test targets to a project.
In the lower-left corner of the test navigator, click the Add button.
In the pop-up menu, choose New Test Target.
Specify the following test target options:
Product Name: Enter a name for the target.
Type: Choose XCTest to use the XCTest framework that’s new in XCode 5, or OCUnit to use the legacy testing framework.
Project: Choose the project to add the test target to.
Target: Choose the target to associate the test target with.
Xcode configures the new test target to test the target that you choose from the Target pop-up menu.
A new target and class are added to the test navigator, including stub implementations for the
Complete the stub implementations, and add other code as necessary.