What’s Next?

Now your tests can confirm view navigation. Remember, you’re getting this with unit tests, which are faster than UI tests.

In the next chapter, we’ll look at testing UserDefaults. This will introduce us to replacing an actual type with a fake object.

Footnotes

[21]

xUnit Test Patterns [Mes07]