Chapter 15
Unit Testing, Debugging, and Instruments
One of the fundamental truths of computer programming (and life) is that not everything works perfectly. No matter how much you plan, and no matter how long you’ve been programming, it’s rare for an application you write to work perfectly the first time and then forever under all circumstances and possible uses. Knowing how to properly architect your application and write well-formed code is important. Knowing how to find out why things aren’t working the way they’re supposed to, and fixing them, is equally important.
There are three techniques you can leverage to help identify and solve these problems: unit testing , debugging , and profiling.
- Unit testing is the idea of isolating the ...
Get More iOS 6 Development: Further Explorations of the iOS SDK 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.