Why I prefer TDD
Monday, December 11th, 2006My experience has been that writing my tests after I write my code is painful.
Assuming you are writing your test afterwards. If your code requires refactoring in order to be unit tested effectively (and mine always does when I do try writing tests after writing the code, because I don’t notice testing difficulties until […]