News for hackers. Stuff that matters.
Re:There are only four billion floats, so test them all (2014) by kqr on Sunday October 11, 2020 @12:59PM (#24747212)
> 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?

Re:There are only four billion floats, so test them all (2014) by brianwawok on Sunday October 11, 2020 @01:03PM (#24747238)
Have a production outage. See the code in question is 100% tested. Scratch head a bit. Vow to fake less next time.
Re:There are only four billion floats, so test them all (2014) by nitrogen on Sunday October 11, 2020 @01:17PM (#24747360)
Supposedly 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.