CS FundamentalsHardGATE CS · TCS NQT Prime · Product Company SDE

Why are automated tests considered essential to a healthy CI/CD pipeline, rather than optional?

  1. A. CI/CD pipelines cannot technically run any tests at all
  2. B. Manual testing is always faster than automated testing at CI/CD speeds
  3. C. Automated tests are only useful for documentation purposes
  4. D. Since changes integrate and potentially deploy very frequently and quickly, only automated tests can realistically verify each change fast enough to catch regressions before they reach later stages or production

Correct answer: D. Since changes integrate and potentially deploy very frequently and quickly, only automated tests can realistically verify each change fast enough to catch regressions before they reach later stages or production

The speed and frequency of CI/CD changes make manual testing an impractical bottleneck; automated tests are what let a pipeline verify each change quickly enough to keep up with frequent integration and delivery.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic