3 ms·
> To me, TDD is about writing my code and my tests at the same time This is exactly how I've taken up TDD. I still sometimes feel like I should write the test
by notduncansmith 12y ago
> To me, TDD is about writing my code and my tests at the same time
This is exactly how I've taken up TDD. I still sometimes feel like I should write the tests first, but (and maybe this is just a matter of discipline) it's much more satisfying to do exactly what you described. The tests still help guide the design of the software, because it'll be immediately visible to me if I'm writing software that's hard to test (and probably - though not always - less correct).
> F5 Driven Development
This made me spit my drink out laughing; it sounds so ridiculous when you say it like that (because it is). You're right on the mark with the addictiveness of a fast, auto-refreshing test suite, I wouldn't want to go back to what feels like the caveman way to do things.