3 ms·
> My preference is always to actually test parts in as close as possible to the real state, avoiding mocks unless they're necessary. The more "fake" the system
by kqr 6y ago
> My preference is always to actually test parts in as close as possible to the real state, avoiding mocks unless they're necessary. The more "fake" the system is, the less it tells you about how your software actually works.
I've heard this before, but never actually had that problem with fakes in practise. Where can I read more about it?
- brianwawok 6y agoHave a production outage. See the code in question is 100% tested. Scratch head a bit. Vow to fake less next time.
- nitrogen 6y agoSupposedly the software problems with the Starliner spacecraft were also caused by extensive unit testing under test harnesses without integration testing, as a visible example that reached the news.