Daryl Ducharme

24%
Flag icon
For legacy code, we can extend the TDD algorithm this way: 0. Get the class you want to change under test. 1. Write a failing test case. 2. Get it to compile. 3. Make it pass. (Try not to change existing code as you do this.) 4. Remove duplication. 5. Repeat.
Working Effectively with Legacy Code
Rate this book
Clear rating
Open Preview