Tests, and Bug Fixes

“Bug fixes must include a test that exercises the bug, and the fix ” This really shouldn’t be controversial, y’know? I mean, after all 1. There is a bug. We all know there is a bug. There is clearly something bad happening (“ Why did the service restart? I didn’t ask it to do so! ”), and bad is not good. 2. If we’re lucky, the bug even comes with a test case that exercises the bug (“ Send in an int instead of a string , and watch the fun! ”) 3. If we’re very lucky, the bug report includes code (“ To dream the impossible dream… ”) Regardless of where one is in the spectrum above, once you admit to yourself that there is a bug — and this can be an awfully hard admission to make sometimes — then you’re going to have to fix the damn thing. And that is going to involve some level of process where you’ll be doing something to make sure that there is a bug, right? After all, taking the above in...