4 ms·
If a patch is a bugfix, it should include a test that fails before the patch, but passes after the patch (along with all of the other tests).
by cbm-vic-20 6y ago
If a patch is a bugfix, it should include a test that fails before the patch, but passes after the patch (along with all of the other tests).
- jabbany 6y agoYes, the idea is that the effort isn't really eliminated. It's just shifted from reviewing the code to reviewing the new tests, which sometimes can be just as hard as reviewing the code when complex bugs are involved.