Quality Assurance Testing

There are many types of QA (quality assurance) testing, though for your purpose, you can focus on three: unit testing, automated functional testing, and integration testing.

Unit tests are usually created by the person writing the code, and they test that a particular feature performs as expected—for example, that correct input works and gives the right result and incorrect input fails appropriately.

Xcode comes with a unit-testing framework that is added to projects by default (at least as of the current Xcode 5 beta). With the addition of a Mac OS X server, you can run sophisticated continuous integration using unit tests and other tools such as static analysis. This is a powerful tool in finding problems while they ...

Get Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.