Whenever I do refactoring, the first step is always the same. I need to build a solid set of tests for that section of code. The tests are essential because even though I follow refactorings structured to avoid most of the opportunities for introducing bugs, I’m still human and still make mistakes. Thus I need solid tests.
- Chapter 1. Refactoring, a First Example
- from Refactoring: Improving the Design of Existing Code
- Publisher: Addison-Wesley Professional
- Released: June 1999
Add to our process?
Share this highlighthttp://www.safaribooksonline.com/a/refactoring-improving-the/1094/