4 ms·
Saying that writing unit tests isn’t high stakes is a dubious statement. The very purpose of unit tests is to make sure that programming errors are caught that
by layer8 2y ago
Saying that writing unit tests isn’t high stakes is a dubious statement. The very purpose of unit tests is to make sure that programming errors are caught that may very well be high stakes.
- falcor84 2y agoHowever high the stakes are, a bug in test code is not as much of an issue as a bug in the production code.
- layer8 2y agoIt is as much of an issue if it prevents a bug in production code from being detected before it occurs in production. Which is the very purpose of unit tests.
- optimalsolver 2y agoWhat? Bugs in the test code are what lead to bugs in production code.
- falcor84 2y agoThat is exactly it. A bug in test code may or may not lead to a bug in production code, while a bug in production code IS a bug in production code