3 ms·
> Add tests for fixed bugs to never repeat them In my experience of all the kinds of tests one can write, it's easiest to see that regression tests carry their
by tomjakubowski 1y ago
> Add tests for fixed bugs to never repeat them
In my experience of all the kinds of tests one can write, it's easiest to see that regression tests carry their own weight. But they have a tendency to bitrot; after enough refactors and rewriting of core elements and dropping of features they may need to be thrown out. Hopefully your bug tracker is in good shape so you can recapture the test's intent in your new context when you rewrite it, or else make the case that the bug is no longer relevant and discard the test for good.