O'Reilly logo

iPhone Applications Tune-Up by Loyal Moses

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Unit testing

Unit testing, for those unfamiliar with the subject, is the concept of testing individual units of an application for functionality. A unit is mostly described as a small and manageable section of code that when tested provides insight into the overall integrity of the application.

Xcode provides two different options for unit testing by default, application and logic tests, which are explained as follows:

  • Application unit tests: Application tests are primarily used to test an application's code, while the application is executing. An application test can be used to verify the relationships between interface components or testing the functionality of outlets and actions. Application unit tests may also be used to test data model and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required