QA Interview Hub · Knowledge base · Quizzes · Українська

QA Fundamentals › Situational questions

Regression takes three days, and releases are weekly. What do you do?

A three-day regression is shortened with levers, not speed: risk-based selection, automating stable cases, parallelisation and pruning the suite. The critical core always runs, the rest depends on the changed areas (a traceability matrix helps), and the full regression stays on a schedule. Escapes are analysed to raise the level of missed areas, and moving checks into PRs and feature flags reduces the pressure.

QA Fundamentals · Situational questions

Regression takes three days and releases are weekly. What do you cut without losing quality?

The regression run starts on Monday, ends on Wednesday, and the release is on Friday. Any fix after Wednesday means a choice between two bad options: not verifying the change or moving the release. The team wants to "just go faster", while QA sees that faster means fewer checks without knowing which ones. This lesson is about what the regression time consists of, which levers exist and how to answer this question in an interview with a structure, not with a generic "we will automate".

How it works and why. Regression testing checks that changes did not break what worked before. The run time is simply the number of cases multiplied by the cost of one case and divided by the number of hands. The suite almost always grows in one direction only: a new feature adds cases and nobody removes the old ones. On top of that it is run in full, regardless of what changed in the release. That gives four levers: run less (risk-based selection), make each case cheaper (automation, ready data), run in parallel (people and workers), remove waste (duplicates, outdated cases). Each has a price, so they are combined, not chosen one at a time.

Risk-based selection rests on two questions: how likely is it that the area broke (the changes touched it, it has been unstable historically) and how expensive that would be (money, login, user data). Hence the tiers: the critical part is always checked, the rest depends on the changes. A traceability matrix helps answer which cases relate to the changed requirements.

Three tiers instead of one big run

Every release: the critical sethours, about 40 casesChange zones: chosen by riskhalf a day, about 60 casesFull regression: rarelyonce a quarter, 280 cases
Figure 1. Regression tiers. The bottom tier does not disappear, it is run less often.

Example: the same suite, a different schedule. The numbers below are illustrative, but the arithmetic shows the logic:

WAS: 400 cases ≈ 10 min each ≈ 67 h ≈ 3 days for 3 people
     Cutting "by eye": skip what "is unlikely to break"

NOW (the same suite split into tiers):
  automated          120 cases  API + UI, CI, ≈ 25 min, every PR
  manual, tier A      40 cases  money, login, main flows, every release
  manual, tier B     ≈ 60 cases  areas touched by the release changes
  manual, tier C     280 cases  all manual cases, once a quarter / before a big release

Manually each week: 40 + 60 = 100 cases ≈ 17 h ≈ 6 h per person
Tier B areas come from the release tickets and the traceability matrix

How to read it. Stable, repeatable cases that are cheap to run every time (API checks and a few UI scenarios) are automated: they need no people and run on every PR. Tier A is the core that is never skipped. Tier B is formed by the change zones: if the release touched payments, payments regression is taken, while the user profile stays in tier C. Tier C did not go anywhere, it just runs less often and on a schedule. The total run time dropped, and the risk coverage stays transparent: it is visible what is checked every week and what is checked on a schedule.

A separate step before all of this is cleaning the suite. A case with no link to a requirement, a duplicate of another case or a check of a feature that no longer exists costs time and gives nothing. Small cases are merged into one with several checks, and outdated ones are deleted with a note on why.

Limits and alternatives. Risk-based selection can miss: a change in a shared module affects areas that are not named in the list of changes. The protection is a regular full regression (tier C) and a review of escaped defects. If a bug escaped from an area that was not chosen, its tier is raised. Automation is not free: flaky tests eat the saved time, and maintenance costs continuously. Parallelising manual regression runs into shared test data and the environment: two people on one account get in each other's way. Another direction removes the pressure altogether: test changes already in the PR (shift-left), release in parts behind feature flags, gradually open the new version to part of the users (canary). Then the regression before a release becomes a confirmation, not the only barrier.

Common mistakes.

  • Cutting the suite "by eye", without risk criteria: in a risky area a check disappears and nobody notices.
  • Automating everything in a row, including unstable UI scenarios: the tests flake and the team stops trusting the result.
  • Dropping tier C for good: hidden dependencies accumulate and show up at the worst moment.
  • Not telling the team what was not checked: "regression passed" without naming the tier creates false confidence.
  • Never cleaning the suite: the time grows with every sprint and a year later the problem is back.

Check yourself

After a release a bug appeared in the user profile, which was affected by changes in a shared module. The tier B regression was assembled from the list of tickets. What did not work and what should change?

Answer

The list of tickets did not show the dependency on the shared module, so the profile did not get into tier B. The fix: raise the profile tier (add its critical cases to A or B), extend the selection with an analysis of the dependencies of the changed modules, and run the full tier C regression on a schedule so that such escapes are caught earlier.

A manager suggests simply adding two more testers so that regression takes one day instead of three. What are the limits of this solution?

Answer

People share the environment, accounts and test data, so the return drops and coordination costs time. The run time stays proportional to the number of cases, so the suite grows faster than the team. It is cheaper and more reliable to combine risk-based tiers, automation of stable scenarios and cleaning the suite, and to add people where a narrow manual segment remains.

In an interview. Junior: I would split regression into tiers: critical scenarios every time, the rest depending on what changed in the release, and I would automate stable repeatable checks. I would also remove duplicates and outdated cases. Middle/Senior: Regression time is cases multiplied by the cost of one and divided by the number of hands, so I work with all the levers: risk-based selection (likelihood of change and cost of a failure, areas taken from the traceability matrix), automation of stable cases, parallelism and cleaning the suite. I do not drop the full regression but run it on a schedule, and I review escapes to raise the tier of the areas we missed. In parallel I suggest moving checks to the left: into the PR and behind feature flags.

More articles in this chapter