12 ms·
I agree with the author that TDD can become problematic for greenfield projects. I've spun my own wheels many times on tests for new things; it is very easy to
by nunez 2y ago
I agree with the author that TDD can become problematic for greenfield projects. I've spun my own wheels many times on tests for new things; it is very easy to spend more time on tests than on implementation.
HOWEVER, IMO, having a set of behavioral tests (BDD) and a roadmap in the README helps a lot in staying on track. It's the best of both worlds: you don't get stuck in the quagmire of writing tests for things that don't exist yet, but you have just enough tests to keep yourself honest.