Skip to Main Content
Cocoa Programming for OS X: The Big Nerd Ranch Guide
book

Cocoa Programming for OS X: The Big Nerd Ranch Guide

by Aaron Hillegass, Adam Preble, Nate Chandler
April 2015
Intermediate to advanced content levelIntermediate to advanced
556 pages
17h 47m
English
Big Nerd Ranch Guides
Content preview from Cocoa Programming for OS X: The Big Nerd Ranch Guide

29 Unit Testing

As you implement a new feature in your application, you will want to ensure that the feature works the way that you intend it to. The fastest and most reliable way to verify that your code works is to write automated tests and run them against your code often. As you are building a new feature, you can repeatedly run your automated tests to guarantee that the code that you have written results in the behavior that you want.

Unit testing is a particular kind of automated testing in which the individual components, the units, of your application are tested. These units are the building blocks of your application. Typically, they are your application’s classes.

The advantage of testing units is that you are able ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Cocoa and Objective-C: Up and Running

Cocoa and Objective-C: Up and Running

Scott Stevenson
Learning Cocoa with Objective-C, 4th Edition

Learning Cocoa with Objective-C, 4th Edition

Paris Buttfield-Addison, Jonathon Manning, Tim Nugent

Publisher Resources

ISBN: 9780134077130Purchase book