In this series, we explore a standard refactoring where we invert a dependency to turn side effects into return values. You'll see just how much (or little) mock objects "get in the way" of a significant refactoring affecting three layers of the application. You'll see how to refactor safely and steadily, even when the ground feels like it's shifting under your feet.
This series has 4 episodes for a total of nearly 3 hours of video.
- A Little Bit of Restructuring. 30 minutes.
- Add The New Thing. 25 minutes.
- The Tiniest of Ripples. 40 minutes.
- The Exciting Conclusion. 70-minute mega-episode!