3 ms·
> you could completely re-do the guts...all your tests will still work That's optimistic. I suspect there are some people who would be confused by your stateme
by tejohnso 4y ago
> you could completely re-do the guts...all your tests will still work
That's optimistic. I suspect there are some people who would be confused by your statement if they've been exposed mostly to tests that verify the steps taken by the implementation.
- jacquesm 4y agoThat's what I would call 'brittle tests'.
- tejohnso 4y agoYeah, "brittle", or "fragile", or "tightly coupled to the implementation" In any case, it's not good. Also not uncommon.
- jacquesm 4y ago> Also not uncommon. Fair enough. Typically this is a case of people not really getting what unit tests are for, so they end up testing the implementation rather than the behavior.