6 ms·
"Even if you write only some tests first, if you want to do it meaningfully, then you either need to zoom down in to tiny bits of functionality first in order t
by phamilton 15y ago
"Even if you write only some tests first, if you want to do it meaningfully, then you either need to zoom down in to tiny bits of functionality first in order to be able to write those tests, or you write a test that requires most of the software to be finished, or you cheat and fudge it."
I think this guy doesn't understand the concept of mocking and stubbing in your tests.
TDD works great in bottom up development ("zooming down to tiny bits of functionality"), but it also works great in top down via stubbing.
I feel like his complaint isn't against TDD, but about badly written tests. I think we can all agree: Crappy code bad. Nice code good. Both in tests and in production.