Schrodinger's bug
A bug does not definitely exist or not until you exercise the code.
You can either let your users find it, or you can write tests to flush it out.
It's your call.
You can either let your users find it, or you can write tests to flush it out.
It's your call.
Your wording postulates that there is a bug there. To be Schrodinger's bug, its existence must be unknown. Your users might be allowed to find out for you if the bug is there, but if your code is so reliable that you know the bug is there, then testing is a waste of effort. Just fix the bug.
ReplyDelete