October 10, 2014
We’ve all been there. Maybe you’ve read a TDD tutorial, taken a TDD course or attended a Code Retreat and have become “test-infected.” You write tests first now. On Monday you’re even excited, until you sit down to deal with the beast. Fifteen thousand lines of code in one function, and you have to write a test for line 11,398. The mere thought of writing tests is depressing, defeating. You resign yourself to being a glorified factory worker, add one more if statement, and die a little inside.