Very good podcast: Lean Agile Straight Talk and great episode: Does writing tests up front really take longer?
Too many sw developers 😦 and too many managers, think that writing automatic tests ‘up-front’ costs too much. And this is because they compare: ‘write code’ with ‘write test + write code’.
On the contrary they should compare: ‘write code + DEBUG A LOT’ with ‘write test + write code + almost no debug’.
Writing code is not so time consuming!!! The huge cost (and, in my opinion, the boring side) is stepping hundred of times through the same lines of code time over time!!!
Debugging is for a moment; tests are forever.