3 ms·
Every time a bug is found I ask my team to write a unit test for it to prevent regression for that bug. During peer review I encourage Engineers to verify that
by oxfordmale 5y ago
Every time a bug is found I ask my team to write a unit test for it to prevent regression for that bug.
During peer review I encourage Engineers to verify that the actual business logic has been tested, for example calculations.
If done correctly, a low unit test coverage can actually be of more quality than enforcing an 80% threshold