What this book covers

Chapter 1, Your First Unit Tests, walks you through your first unit tests using Xcode and discusses the benefits of using TDD.

Chapter 2, Planning and Structuring Your Test-Driven iOS App, introduces the app you are going to write through the course of this book and how to set up a project in Xcode.

Chapter 3, A Test-Driven Data Model, discusses the TDD of a data model.

Chapter 4, A Test-Driven View Controller, shows you how to write tests for a view controller, and describes how to use fake objects to isolate micro features for the test.

Chapter 5, Testing Network Code, teaches you to test network code using stubs to fake a server component before it is developed.

Chapter 6, Putting It All Together, walks you through ...

Get Test-Driven iOS Development with Swift 4 - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.