DEV Community

Discussion on: What was your TDD aha moment?

Collapse
 
bobbyahines profile image
Bobby Hines

For me, the magic wasn't in design, but rather in Test Driven Refactoring. I was refactoring a legacy enterprise system with no real tests while needing new and old code to remain simultaneously functional in situ. Using TDD as the foundation for my "retrofit" process, the team are more trusting of the new code, and that bleeds right over to user buy-in. In the right operation where this sort of project comes up, TDD refactoring is nothing short of SDLC life extension.