Skip to content
Latchkey

Coverage Gate - CI/CD Glossary Definition

A coverage gate fails CI when test coverage drops below a threshold or regresses on a change.

A coverage gate is a CI rule that fails the build if code coverage falls below a set threshold or drops on a change. It enforces a minimum level of test coverage.

Gates are often set on the diff (patch coverage) rather than the whole project, so new code must be tested even if legacy code is not.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →