2 ms·
We don’t have any automatic enforcement at my current company. At edX, and on personal projects, we used Codecov to enforce 95% coverage on all new code, and 95
by clintonb 7y ago
We don’t have any automatic enforcement at my current company. At edX, and on personal projects, we used Codecov to enforce 95% coverage on all new code, and 95% coverage across the entire repo. The exact numbers varied with the current state of the repo, but this was the default for all new repos.
While the number was high, we did recognize when testing might cost more than it benefitted is, so we occasionally used comments to ignore coverage of some branches.