Q3 of 38 · CI/CD & DevOps

What is CI/CD and where does QA fit?

CI/CD & DevOpsJuniorci-cdfundamentalsqa-rolepipeline

Short answer

Short answer: CI is automated build + test on every commit to catch breakage early. CD is automated deployment to environments after passing checks. QA owns the test suites that run in pipelines and the quality gates — pass/fail criteria — that block bad code from advancing.

Detail

Continuous Integration (CI): every code commit triggers an automated pipeline that builds the code, runs unit/integration/lint checks, and reports the result within minutes. The goal is fast feedback — break-and-fix in five minutes, not at the end of a sprint.

Continuous Delivery (CD-delivery): after CI passes, the build is automatically packaged and deployed to a staging environment, ready for manual promotion to production.

Continuous Deployment (CD-deployment): takes that one step further — automated deploy all the way to production whenever CI/CD checks pass. No manual gate.

Where QA fits — three concrete responsibilities:

  1. Author the automated tests that run in CI: unit, integration, contract, E2E, performance smoke. The test suite is the quality gate.
  2. Define what blocks the pipeline. Failing tests block, falling coverage blocks, critical security findings block. Subjective things (code style preferences) often don't.
  3. Maintain pipeline health. Flaky tests get triaged or quarantined. Test runtime stays under target. Failures get root-caused, not retried.

In a healthy team, QA isn't a separate phase before release — it's continuous, automated, and the pipeline enforces it. The QA engineer's job evolves from "test before release" to "design the system that tests on every commit."

// WHAT INTERVIEWERS LOOK FOR

Naming the three concepts (CI, continuous delivery, continuous deployment), articulating QA's role as test author + gate definer, and recognising QA as continuous, not phase-gated.

// COMMON PITFALL

Saying CI/CD means 'we deploy quickly' without mentioning quality gates. The 'gate' is the whole point — speed without gates is just shipping bugs faster.