3 ms·
We don't enforce a % but new functionality won't pass code review without tests added. A previous company I worked for required 90% coverage enforced in CI/CD.
by byoung2 7y ago
We don't enforce a % but new functionality won't pass code review without tests added. A previous company I worked for required 90% coverage enforced in CI/CD. It got annoying sometimes to refactor code so you could test every logic branch.
- jamil7 7y agoDo you enforce that automatically? or is it just part of the review process?
- byoung2 7y agoAt my current company, just part of the review process people will not approve your PR if there are no tests. My last company enforced it in CI and you could not merge if there was less than 90% coverage.