Chapter 6Testing Your Apps
Automated testing is a very good idea. I won’t give you the hard sell on it here (there are other books that do a better job, like Test Driven Development [Bec02]), but I will say that writing tests for your software will save hours upon hours of time as your product grows more complex. If your current code doesn’t work as intended or something breaks in the future, you’ll know it immediately. Sounds like something we should really use in our iOS apps, right?
The APIs we’ve covered so far are essentially common to iOS development in both Objective-C and RubyMotion. The syntax may be a little different here and there, but all the classes and methods are part of the Apple’s Cocoa frameworks. Testing, however, is a ...
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.
Read now
Unlock full access