3 ms·
> Even tests that just duplicate the business code under test and assert that it's the same (A huge waste in normal cases) is useful. Maybe, but there's no rea
by yorwba 9y ago
> Even tests that just duplicate the business code under test and assert that it's the same (A huge waste in normal cases) is useful.
Maybe, but there's no reason to write such tests by hand. Just automatically test each method against the previous version and see what changed.
I think the generated results would be too noisy and developers would stop paying attention to test failures, but maybe a strict enough code review process could prevent that.