What Is a Coverage Gate?
A coverage gate is a check that compares measured test coverage against a configured minimum and fails the pipeline if coverage is too low. It can apply to the whole project or just the lines changed in a pull request. The gate makes a coverage target enforceable rather than aspirational.
Why it matters
A coverage gate stops untested code from sneaking in and gradually eroding the safety net. Scoping it to changed lines avoids penalizing a contributor for legacy gaps they did not introduce.
Related guides
What Is a Mutation Score Threshold?A mutation score threshold is a minimum mutation testing score a build must meet, measuring not just coverage…
What Is Feature Branch Testing?Feature branch testing runs the full test suite against a branch before it merges, catching regressions in is…
What Is a Test Impact Graph?A test impact graph maps which tests depend on which source files, so a change can run only the affected test…