This video is only a short sample, but you can access the full version and all our other great content by subscribing.



In this video, Ben and Joe illustrate the steps to safely extracting new classes. You'll learn a reliable, repeatable process for creating new classes and moving functionality into them without risking bugs in your application or failures in your tests. We also discuss the benefits of extracting classes and strategies for preserving and improving test coverage during refactoring.

You can view the before and after for this example as a Gist.