Summary
In this final chapter, we have implemented the navigation between the different views of our app. We have learned how to test pushing view controllers onto a navigation stack and how we can test whether a view got presented modally.
With navigation implemented, we started the app on the simulator and found and fixed bugs. We figured out that TDD even helps when fixing bugs. By writing first a failing test for that bug and then making the test pass, we ensured that this bug won't hurt us in the future of our app.
With the skills you gained in this chapter, you will be able to implement and test the navigation of an app using the coordinator pattern. And, you are now able to write tests for bugs and fix the bug by making the test pass.
Congratulations, you reached the end of this book! My hope is that this book is the beginning of your journey to becoming a test-driven developer. You learned how to test Combine
code and write tests for view controllers and views...