iPhone OS Reference Library Apple Developer Connection spyglass button

Version: 1.0

Posted: 2009-05-30

Build Requirements: iPhone SDK 3.0 or later

Runtime Requirements: iPhone OS 3.0 or later

View Source Code:

Download Sample Code (“iPhoneUnitTests.zip”, 64.6K)



Description

This example illustrates the use of unit tests on an iPhone application project to ensure that application functionality does not degrade as its source code undergoes changes to improve the application or to fix bugs. The project showcases the two types of unit test: logic and application. Logic unit tests allow for stress-testing source code. Application unit tests help ensure the correct linkage between user-interface controls, controller objects, and model objects.

Document Revision History

Date Notes
2009-05-30Illustrates the use of unit tests on an iPhone application project.
Did this document help you? Yes It's good, but... Not helpful...