•••

Sometimes the function you’re writing looks simple enough, but writing a test for it looks like a big hassle and you’re not exactly sure how to do it, so you do without. You run it, it looks like everything is working… Quite some time later you finally write the test and find out that not everything is working as expected, or even at all!

TDD is awesome. But only if you actually follow it.

Comments are webmentions.