What’s Next?

Now you have some idea of how to write unit tests for code with tricky dependencies. This concludes Part I, covering the foundations we need.

From here, we move to Part II, taking a tour of various things you may want to test in iOS apps. We’ll learn various techniques, starting with how to test outlet connections.

Get iOS Unit Testing by Example 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.