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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.