DEV Community

Discussion on: Tried TDD and didn't realize the benefits? Try it the next time you get writer's block

Collapse
 
ccleary00 profile image
Corey Cleary

Totally, I had a similar realization when I first started getting into testing - "I know I need to write tests for this, so might as well write them first and get it out of the way"

But as I started to like writing tests more and more, "getting them out of the way" felt like less of a pain and some thing I enjoyed. For me that's when using TDD as a design tool really started to click.

Collapse
 
alchermd profile image
John Alcher

... "getting them out of the way" felt like less of a pain and some thing I enjoyed.

Same. I can say as far that if I'm not doing TDD on a project, it's not a project that I take seriously. I hope I'm not growing into a TDD zealot, but it's a thing that makes too much sense to not do.