Hacker News new | ask | show | jobs
by falcor84 457 days ago
However high the stakes are, a bug in test code is not as much of an issue as a bug in the production code.
2 comments

It 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.
What? Bugs in the test code are what lead to bugs in production code.
That 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