Summary
In this chapter we took a more detailed look at the TDD cycle. We learnt about the Arrange-Act-Assert pattern, took a more detailed look at the various assertions that are provided, as well as some of the different ways of setting up tests and cleaning up afterwards. Finally, we looked at how to prevent tests from being too brittle and did a few basic refactorings.