Part 2
iOS Testing Tips and Techniques

With foundations in place, how do we test specific behaviors of iOS apps?

Some of this requires tricks. You can test a button tap or navigation from one view controller to the next with a handful of tricks.

Some of it requires learning how to use test doubles to replace an actual component with a stand-in. This includes fakes, spies, and mocks.

And besides testing behavior, it’s good to know how to test appearance.

This section offers a grab bag of tips and techniques that you can look up as needed.