Want to see the full-length video right now for free?

Sign In with GitHub for Free Access


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.