DEV Community

Discussion on: Should one get good at test-last development before learning TDD?

Collapse
 
toureholder profile image
Touré Holder

I see your angle. I'm a big fan of TDD, though. For me it has definitely been the best way to obtain a high quality, high coverage test suite. It also helps me to write more modular and testable code and I spend less time "thinking" about what to test. But I do agree with you that it seems easier to teach writing tests if you already have code to test. I gave a TDD course last year at work and I taught the group how to test existing code before teaching TDD.