DEV Community

Discussion on: 7 Reasons You Should Be Using Test-Driven Development

Collapse
 
hudsonburgess7 profile image
Hudson Burgess

Fixed the link, thanks for the heads-up!

--

I can understand TDD slowing down folks that haven't used it before, but I actually didn't experience that. Writing and passing one test at a time forced me to think about my code in smaller, more obvious pieces (read: shorter functions) and move faster from day 1.

--

Always leave work with a failing test. This will bring you right back into focus on the next morning.

Genius; I hadn't considered that.