Software Development Community Question

What are the key differences between Regression and Retesting in a CI/CD pipeline?

Posted on 2024-03-22 • In Software Development • By James Wilson

I'm preparing for a QA lead role and want to clarify these terms for my team. In an automated CI/CD environment, when do we trigger a full regression suite versus just retesting a fixed bug? How do we balance thoroughness with the need for fast deployment cycles?

3 Answers 11,076 Views

All answers to this question 3 Answers

Linda Garcia Answered on 2024-03-23
Answered

Retesting is for the "hole," Regression is for the "entire fabric." You need both to ensure your software stays seamless.

James Wilson Commented on 2024-03-24
Commented

I love that analogy, Linda. It really helps non-technical stakeholders understand why we can't just "test the fix" and call it a day.

Steven Harris Answered on 2024-03-25
Answered

Do you use any specific tagging system in your automation code to help the CI/CD tool know which tests are "Selective"?

Richard Scott Commented on 2024-03-27
Commented

Steven, yes! In Cucumber or Playwright, we use @tags. We tag tests by module (e.g., @billing, @login) and by priority (@P1, @smoke). Our Jenkins pipeline is scripted to look at the "Changed Files" in the PR and trigger only the corresponding tags. It’s a bit of work to set up, but it saves hours of execution time every single week.

Barbara Taylor Answered on 2024-08-15
Answered

Retesting is specifically checking if a previously failed test case now passes after a fix. Regression is checking the rest of the system to ensure the fix didn't break unrelated features. In 2024, my team optimized our pipeline by using "Smoke Tests" for every commit and a "Selective Regression" suite that only runs tests related to the modules changed. We run the "Full Regression" nightly. This prevents the pipeline from becoming a bottleneck while still providing a high level of confidence before each production release.

Write a Comment

Your email address will not be published. Required fields are marked (*)

Join the LearnersEra Community

Ask questions, share knowledge and learn from professionals across technology, project management and certification topics.

Change Country and Nearest City

Select your country and nearest city to see courses available in your region.