Link
Stuck in Meta: I’m finally diving into test-driven development (TDD), and two...»
I’m finally diving into test-driven development (TDD), and two advantages come to mind:
- Making tests pass is fun! It’s a game: checkmark, checkmark, checkmark. Short feedback cycles (aka. instant gratification) are critical in maintaining ‘programming morale’ and productivity.
- Coded specs…
Very true. I like having tests mainly because they let me refactor without fear of breakages.
via Stuck in Meta.
-
addmefollowyou liked this
-
jamesnvc reblogged this from stuckinmeta and added:
mainly because they let me refactor without fear of breakages.