3 ms·
This is fine if people are diligent about writing good tests. If you enforce coverage on a busy team with less experienced or less diligent engineers, you're g
by bluefirebrand 4y ago
This is fine if people are diligent about writing good tests.
If you enforce coverage on a busy team with less experienced or less diligent engineers, you're going to get a lot of "tests" that just pass for coverage purposes and gives false confidence in your code and doesn't gain you anything.
- lumost 4y agoFair, it's easy to get execution without validation, but ultimately this is where code review matters. The (huge) company that I work at now is the only one that's ever strongly encouraged test coverage, with a general expectation of 85% coverage and 95%+ encouraged. It's also the only company that I've worked at where you can commit code and get up from your desk.