3 ms·
I grant the premise that TDD has drawbacks. But are they really worse than the drawbacks of not writing tests? Code with no test coverage will have more defec
by deweller 9y ago
I grant the premise that TDD has drawbacks. But are they really worse than the drawbacks of not writing tests?
Code with no test coverage will have more defects and will be more prone to regressions.
For many projects TDD is the best we've got until something comes along that replaces it.
- globuous 9y agoI thought TDD meant doing tests before implementing code rather simply testing code. So I always assumed someone testing his code wasn't necessarily TDDing, and that someone not TDDing wasn't necessarily not testing, just that she tests after implementation. Is my understanding of TDD wrong ?
- deweller 9y agoYou are correct. I incorrectly interpreted "don't do TDD" as "don't do tests".
- lobut 9y agoI always thought it meant DRIVING the design as well. The term TDD gets conflated with unit testing, and testing in general that it gets quite confusing have a discussion without going into hyperbole.