2 ms·
Just a nitpick: that's TDD, not unit testing in general. When unit testing guides the design, it's usually called TDD. It's perfectly acceptable to write unit
by the_af 13y ago
Just a nitpick: that's TDD, not unit testing in general. When unit testing guides the design, it's usually called TDD.
It's perfectly acceptable to write unit tests _after_ the production code, and to not have them guide the design.
- jasonlotito 13y agoYou are right, of course. And that's what I meant. I just equate unit testing and TDD together so often that I tend to (incorrectly) equate the two.