5.11 Teardown
This chapter provided you with techniques for breaking collaborator dependencies when test-driving. You’ll want to review the documentation for your mock tool to fully understand its additional features and nuances. Otherwise, you now have a basic understanding of the core TDD mechanisms you’ll need to build a production system.
That doesn’t mean you can stop reading, particularly not if you want to succeed in the long run. You’re just starting to get to the good stuff. Now that you can test-drive all your code, how can you take advantage of it so that your design stays clean and simple? And how can you ensure that your tests, too, stay clean and simple? The next two chapters focus on improving the design of both your production ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access