DEV Community

Discussion on: Do you practice TDD?

Collapse
 
shikaan profile image
Manuel Spagnolo • Edited

As much as I love testing, I really don't do TDD and the reason is pretty simple: I usually (to not say never) understand from the get go what I have to do.

Most of the initial effort is understanding what is required and for me the best way to get to that stage is writing some code which I will eventually throw away.

That said, I don't push a commit without having tests (at least unit tests) covering what I did, but i really cannot say that my development is driven by tests. Not at all.