2 ms·
> One benefit of writing a test before fixing code is it avoids the problem of writing a test which passes but doesn't actually check the broken thing Luckily
by catdog 8y ago
> One benefit of writing a test before fixing code is it avoids the problem of writing a test which passes but doesn't actually check the broken thing
Luckily code is version controlled so I can apply the test written afterwards to the old code with relative ease most of the time.