3 ms·
The ideal tests are not strictly unit or integration tests, but have a suitable mixture of both. They also run with sanitisers which can detect races and undef
by londons_explore 6y ago
The ideal tests are not strictly unit or integration tests, but have a suitable mixture of both.
They also run with sanitisers which can detect races and undefined behaviour.
And really good tooling also does formal verification to try and find any codepaths or inputs that could lead to an assertion failure.
I think any of the above 3 things would have had a reasonable chance of catching this issue.