4 ms·
> "assert that X function calls Y stub Z times" That's a terrible test that should never pass code review. It's worse than no test at all - it's brittle and gu
by atilaneves 10y ago
> "assert that X function calls Y stub Z times"
That's a terrible test that should never pass code review. It's worse than no test at all - it's brittle and guarantees nothing.
Writing good tests is _hard_.