Glossary

What is a quality gate?

A quality gate is a check placed at a fixed point in a delivery pipeline, usually before a merge or a release, that decides whether a change may go on. The result is binary and the pipeline obeys it: if the check does not pass, the change does not ship.

A gate is not a report

A report tells you something and leaves the decision to whoever reads it. A gate makes the decision. That is the whole difference, and it is why the criteria must be written down before the change arrives: tests that must pass, a scan that must find nothing above a given severity, a coverage figure that must not fall. Which criteria you choose is your call. What makes it a gate is that failing one stops the change.

Strict or with a threshold

Some gates use a threshold, such as “pass at 90 percent”. It is easy to adopt and easy to regret, because a threshold quietly turns a failing test into an accepted one. The strict alternative is a single rule: any failure blocks. The price is that a flaky test blocks too, so a strict gate needs a way to set aside the tests you do not trust yet.

Quality gates in TAIP

TAIP's gate has exactly one rule: if a step fails, the gate fails. There is no minimum score and no mode that reports without blocking. It runs the suite you designate for the application and returns one verdict. With no suite configured the call fails at once, instead of falling back to your whole test inventory.

You can call it three ways: a GitHub Action, a Node command-line tool with no dependencies, or webhooks for GitHub and GitLab. The command-line tool exits with 0 when the gate passed and 1 when it failed. It uses 3 when TAIP could not give a verdict, so a fault on the TAIP side is not mistaken for a bad change.

A gate is only as good as its suite

The gate runs the suite you designated and nothing else. If that suite does not cover what matters, a green gate says nothing about it.

Go further

Try it on your own application

TAIP discovers your application and suggests tests to start from. Free Basic is free forever and needs no credit card.