Not all applications were written with testing in mind. Few were originally developed using TDD. Often, the original developers are long gone, and documentation is incorrect, incomplete, or missing entirely.Â
In this chapter, we will gain an understanding of:
- Dealing with inherited code
- Characterization tests
- Refactoring with tests