3 ms·
I can't seem to get people to agree on the point of unit tests either. Nowhere is this more apparent than when we argue about test coverage %'s. There's a who
by hinkley 7y ago
I can't seem to get people to agree on the point of unit tests either.
Nowhere is this more apparent than when we argue about test coverage %'s. There's a whole bimodal distribution of people very wrong for very different reasons.
- zokier 7y agoI feel unit tests are difficult to swallow to some people because they are not used to (or able to) develop code in distinct and definite units. And without units, unit tests are sort of meaningless.
- gumby 7y agoI find about half the people don't see the point (mainly can't be bothered). I can cut that group by about a third by telling them "the tests keep other people from breaking your code" (Personally I think tests keep me from breaking my and others' code, but I don't tell them that)
- gwright 7y agoAlways helpful to think about your future self as that other person.