November 2024
Intermediate to advanced
300 pages
7h 12m
English
You’ve wrapped up a couple of chapters that teach you how to use tests to keep your code clean. Now, it’s time to focus on the tests themselves.
Your tests represent a significant investment. They’ll pay off by minimizing defects and allowing you to keep your production system clean through refactoring. But, they also represent a continual cost. You need to continually revisit your tests as your system changes. At times, you’ll want to make sweeping changes and might end up having to fix numerous broken tests as a result.
In this chapter, you’ll learn to refactor your tests, much like you would refactor your production system, to maximize understanding and minimize maintenance costs. You’ll accomplish this ...
Read now
Unlock full access