DEV Community

Discussion on: My testing epiphany

Collapse
 
mrlarson2007 profile image
Michael Larson

Yep, one of many reasons we write tests. The other big one for me is that it allows me to refactor and clean up with out fear that I broke something. When you use TDD it also allows you to spend less time in debug mode and more time actually doing what we like, writing code. I just feel more confident when I release my code.