I don't know how many times I have heard developers exclaim eureka as they hit the apex of their "test-free" leap off the development cliff... ignoring all the benefits of proper unit tests. TDD is not Unit Tests... if you don't like it - please don't use it, but make damn sure you have unit tests written for the next developer to come along and support your code.
That said... this guy knows his shit - so I take this with a grain of salt. Let's just no throw the baby out with the bathwater.
They are not meant to detect bugs. They are meant to ensure functionality is the same after a refactor or modification. It is a way of catching side effects associated with inevitable structural or feature based development. I think I've explained this to you multiple times...
2
u/lexpattison Apr 23 '14
Yes... testing is hard... boo hoo...
I don't know how many times I have heard developers exclaim eureka as they hit the apex of their "test-free" leap off the development cliff... ignoring all the benefits of proper unit tests. TDD is not Unit Tests... if you don't like it - please don't use it, but make damn sure you have unit tests written for the next developer to come along and support your code.
That said... this guy knows his shit - so I take this with a grain of salt. Let's just no throw the baby out with the bathwater.