What is a quality gate beyond SonarQube (examples)?
IntermediateConceptTesting and Quality Gates
Answer
Any automated pass/fail criterion that blocks promotion: failing unit tests, coverage on new code, no critical/high CVEs (trivy image --exit-code 1 --severity CRITICAL,HIGH), licence policy check, IaC policy (OPA/Conftest, Checkov), performance budget (k6 thresholds, Lighthouse CI), API breaking-change check, and required code review. Gates are only useful if they are fast, deterministic and owned by someone.
More on Testing and Quality Gates
What is the testing pyramid?BeginnerWhat is the difference between unit, integration, and end-to-end tests?BeginnerWhat are smoke tests and sanity tests in a deployment pipeline?IntermediateWhat is code coverage and is a high percentage a good target?IntermediateWhat is a quality gate in SonarQube?IntermediateHow do you integrate SonarQube into a CI pipeline and make it block on gate failure?Intermediate