In this chapter we have gone on a nice tour of unit testing and gotten a taste for the fundamentals of test-driven development. We walked through the TDD process from idea to implementation.
We have explored Apple’s built-in unit testing suite XCTest. We also touched on some of the most common tools in your toolbox for testing your application. You now have the tools to go forth into the world and test your apps so that you can be sure your users will not have to deal with a crash or erroneous behavior.
Now that we know how to write tests to ensure our features work as designed, we’re going to start reworking those features. In the next chapter, we’ll begin moving to the table view style of presentation that is so common on iOS.