TOPIC 26/3715 MINNOT STARTED

Quality gates: the checks that decide if a build may go on

A quality gate is a set of conditions a build must meet. Learn how to pick good ones, avoid gaming them and read a failed gate.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: airport security. Before you board, you pass a few checks: ticket, bag and ID. If one fails, you wait. The checks are clear and the same for everyone.

Too many checks make a queue. Too few let risks through.

A is that check for a build. Tom, the tester at Daily List, a to-do list app, picks a few clear ones.

The picture is only a first way in. It will not fit every detail, so the next levels give the exact words and show where the picture stops working.

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB A few clear checks that decide if a build may board, like airport security.

  1. Check
  2. Stop
  3. Go
Airport security

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The checkpointThe gate
A checkA condition
BoardingGoing to the next step
A queueA slow or flaky gate

WHERE THIS PICTURE STOPS

  • Security checks people, but a gate checks builds.
  • Checks are fixed, but a gate can be reviewed.
  • A traveller can wait, but a build blocks a team.

HOOK

Few, clear, fast.

TELL A FRIEND

Airport security: a few clear checks for every build.

OFTEN MIXED UP WITH Where tests run in a pipeline. That topic shows where tests run in a pipeline. This one decides which results stop the build.

PRACTISE AND KEEP

Sources for this topic — 1 source
  1. Market practice

    Introduction to quality gates (SonarQube documentation) ↗ — SonarSource · SonarQube Server2026.5 Understanding quality gates, conditions and optional CI/merge enforcement; opened 6 November 2026. Coverage does not measure assertion strength.

    Says a quality gate is a set of conditions, each with a metric, an operator and a value, often on new code. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.