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

QA Fundamentals

Processes and Agile

Scrum, shift-left, releases

What ceremonies are there in Scrum and what is QA's role in them?

Scrum has five events: the Sprint as a container, Sprint Planning, Daily Scrum, Sprint Review and Sprint Retrospective. Backlog refinement is an ongoing activity. The Scrum Guide has no separate tester role: QA is part of the Developers and shares responsibility for quality. At planning QA estimates testing and risks, at refinement asks about requirements, at the daily gives facts and blockers, at the retrospective brings process data.

QA Fundamentals · Processes and Agile

At the daily QA says "testing, no blockers". Is that a contribution to the sprint or an empty report?

A new QA Engineer joins the team, goes to planning for the first time and stays silent, because "there is nothing to test yet". Stories arrive for checking on day eight, at the daily the line is "testing, no blockers", and at the review the team shows a feature nobody checked for boundary values. The problem is not the person: they do not know where their contribution sits in each Scrum event. This lesson is about which events Scrum has, what each is for and what QA can and should take on in them.

How it works and why. The Scrum Guide describes a sprint (one month or less) and four events inside it: Sprint Planning, Daily Scrum, Sprint Review and Sprint Retrospective. Each event is a regular point of inspection and adaptation: look at what is going on and change course while it is not too late. Timeboxes set an upper limit so that events do not sprawl: for a one-month sprint that is up to 8 hours for planning, 15 minutes for the daily, up to 4 hours for the review and up to 3 hours for the retrospective, and for shorter sprints the events are shorter.

An important point for an interview: the Scrum Guide has three accountabilities (Product Owner, Scrum Master, Developers) and no separate tester role. Developers are everyone who creates a usable increment, so QA belongs to that group and is responsible for quality together with the rest. The increment must meet the Definition of Done, and QA can show with facts whether it does.

A sprint and where the events sit

Sprint: one month or lessPlanningDaily, every dayReviewRetroRefinement: ongoing, not a separate eventQA: testing runs through the whole sprint
Figure 1. The four Scrum events and refinement running in parallel. Testing is not a phase at the end but a line through the whole sprint.
EventPurposeQA's contribution
Sprint Planning (up to 8 h)Choose what we do and howThe question "how will we verify it", testing in the estimate, risks, the need for data and environments
Daily Scrum (15 min)Look at progress towards the sprint goal and adjust the planWhat is verified, what is in progress, what blocks, whether the sprint goal is at risk
Sprint Review (up to 4 h)Show the increment to stakeholders and collect feedbackShow what was verified and how, the open risks; record feedback as new stories or bugs
Sprint Retrospective (up to 3 h)Improve the way the team worksFacts about the quality process: where bugs were found late, what slowed verification, what to try next
Refinement (not an event)Prepare the backlog: clarify and estimate storiesQuestions about requirements, acceptance criteria, boundary and negative cases

Refinement stands apart in the table: in the Scrum Guide it is an ongoing activity, not an event with a timebox, although teams hold sessions for it. This is where QA prevents the most defects, because questions about requirements cost far less than reworking finished code.

Example: the same daily update, weak and useful. The daily is the clearest place where the difference in approach shows. Compare two versions:

Weak:
  "Yesterday I tested, today I test, no blockers."

Useful:
  "Yesterday I checked the transfer on the API: two bugs, PAY-231
   and PAY-232. Today I retest PAY-231 once build 2.14.4 appears.
   Blocker: the environment has no test cards with a balance, I
   need them before noon. Risk to the sprint goal: the transfer UI
   will apparently be ready only on Thursday, leaving little time
   for regression."

What changed. The useful version answers the three questions the daily exists for: what moves towards the sprint goal, what gets in the way and whether the plan has changed. It names a concrete bug instead of "testing", shows a blocker with a deadline and signals a risk while it can still be discussed. This is not about a longer speech: it is a few sentences with facts. Small discussions, such as how exactly to reproduce PAY-232, are left for after the daily for those it concerns.

The same approach works at planning. Instead of "testing will take a day" QA says: "The transfer needs two cards in different currencies and an environment with a mock bank; without it verification is at the API level only. I estimate three hours for the API and four for the UI with regression around it". The team sees that testing has a price and puts it into the sprint scope instead of catching up on the last day.

Limits and alternatives. The Scrum Guide does not say how to test, so concrete practices (acceptance criteria, ATDD, automated tests in the pipeline) are the team's choice, not a Scrum requirement. The Daily Scrum is meant for the Developers, so it is not turned into a report to a manager. The Sprint Review is not a QA demo, it is an inspection of the increment with stakeholders; QA helps show what was verified instead of leading the presentation in place of the team. Kanban teams have no sprints and none of these events, but the same activities (clarifying, syncing, reviewing, improving) exist as regular meetings and flow rules. Where one QA serves several teams, being present at every event is unrealistic and priorities must be set: refinement and planning matter more than a routine daily.

Common mistakes.

  • Staying silent at refinement because "there is nothing to test yet": questions about requirements are cheapest at this point, and on day eight an ambiguity is already expensive to resolve.
  • Leaving testing out of the estimate: development fits into the sprint while verification is pushed to the last day, and quality is sacrificed to the deadline.
  • Reporting "testing" at the daily with no detail: the team does not see what is at risk and learns about the problem late.
  • Using the retro for blame: "developers hand over late" changes nothing, while "tasks reach verification in the last two days: here is the data, here is what we propose" changes the process.
  • Showing a feature at the review that was not verified: stakeholders find the bugs first and the team loses trust.
  • Treating the Scrum Guide as a place for a tester-controller: in Scrum quality is the responsibility of the whole team, not of a separate role.

Check yourself

At planning the team takes the story "Transfers between own cards" and estimates only development. What two questions do you ask and what do you suggest changing in the estimate?

Answer

Questions: what counts as done (which acceptance criteria, currencies and limits are in the story) and what is needed for verification (test cards, a mock bank, an environment). In the estimate I keep separate time for testing and regression around payments, because without it the story will not become Done by the DoD and verification will slide to the last day.

Why is refinement not called a Scrum event, yet QA is most useful there?

Answer

Because in the Scrum Guide backlog refinement is an ongoing activity, not an event with a timebox, although a team may hold sessions for it. QA is useful there because a defect in requirements is found before code: questions about boundary values and contradictions at refinement are cheaper than fixing what is already written and tested.

In an interview. Junior: Scrum has planning, daily, review and a retrospective, and refinement goes on all the time. At planning I estimate the testing scope and risks, at refinement I ask about requirements and acceptance criteria, at the daily I say what is verified and what blocks, at the review I help show the result, at the retro I suggest improvements. Middle/Senior: The Scrum Guide has no separate tester role: I am part of the Developers and responsible for quality together with everyone. I use each event as a point where quality can be changed cheaply: questions about requirements before code, testing in the estimate, facts and risks to the sprint goal at the daily, data about where bugs were found late at the retro. When one QA serves several teams, refinement and planning get priority, because that is where I have the most influence.

What are Definition of Ready and Definition of Done?

The Definition of Ready describes when a story is ready to be taken into work: clear requirements, acceptance criteria, an estimate. The Definition of Done describes when work is complete and can join the increment. In ISTQB terms these are entry and exit criteria. DoD is in the Scrum Guide, DoR is a team practice. Acceptance criteria belong to one story, DoD is shared, and Done needs both.

QA Fundamentals · Processes and Agile

A story reached testing without acceptance criteria. Whose problem is it: QA or the team?

QA picks up the story "Transfers between cards" and does not know what to check: the ticket has one sentence, there is no mockup and the limits are "to be clarified". At the end of the sprint the developer writes "done" and QA finds that an amount with three decimals gives a 500. Who should have noticed earlier, and what exactly was "done"? For such conversations teams agree on two shared lists: the Definition of Ready and the Definition of Done. This lesson is about what they mean, how they differ from acceptance criteria and how QA uses them.

How it works and why. The Definition of Ready (DoR) describes when a story is ready to be taken into work: clear requirements, acceptance criteria, mockups, an estimate, known dependencies. The Definition of Done (DoD) describes when work on a story is complete so that it can be added to the increment. In ISTQB terms these are entry criteria (the conditions under which an activity may start) and exit criteria (the conditions under which it can be considered complete), and for agile the CTFL 4.0 syllabus names them directly as Definition of Ready and Definition of Done.

Their status in Scrum differs. The Definition of Done is in the Scrum Guide: it is a formal description of the state of the increment when it meets the quality standards, and if the organisation has a common DoD, the team adopts it as a minimum. The Definition of Ready is not in the Scrum Guide: it is a team agreement that took hold as a practice. So in an interview it is correct to say "DoD is part of Scrum, and DoR is a common team practice".

Two checks on a story's path

BacklogDoRSprintDoDDoneCan westart?Can weclose?AC: for one story. DoD: for all.
Figure 1. DoR stands at the entrance to the sprint, DoD at the exit. Acceptance criteria belong to a particular story, while the DoD is the same for all.
Acceptance criteriaDefinition of Done
What it applies toOne storyAll the team's stories
The question it answersWhat exactly must this feature do?What else must be done for this to be complete?
Example"An amount with 3 decimals is rejected with a hint""Code review passed, regression done, documentation updated"
Who agrees on itThe PO with the team at refinementThe whole team (and the organisation, if there is a common DoD)

A story is Done only when both its acceptance criteria and the whole DoD are met. So "the feature works" is not yet "done": you can have correct code with no regression and no updated release notes.

Example: from a story that cannot be verified to one that can. The initial version:

Story: As a customer, I want to transfer money between my own cards.
(No mockup, limits "to be clarified", estimate: 5.)

There is nothing to test against. Every sentence raises a question: which cards, which limits, what to show on a decline. This is exactly what the DoR is for: it is not bureaucracy but a way to catch questions before the story gets into the sprint. At refinement QA turns them into criteria:

Story: As a customer, I want to transfer money between my own cards
so that I do not have to visit a branch.

Acceptance criteria:
  1. An amount from 0.01 up to the available balance, accurate to the
     cent; extra decimals are rejected with a hint.
  2. A transfer to the same card is forbidden, error text per mockup.
  3. After success both balances are updated, history has one entry.
  4. The issuer bank declines: no money is debited, the user sees why.
Mockup: the "Transfer" screen (link). Limits: requirement PAY-142.
Dependencies: the transfer API is ready on stage; test cards needed.

Now the story shows what counts as correct: the first criterion directly covers the three-decimals bug that would otherwise be found at the end. When checking the DoR, QA asks: are there criteria that can be verified? are the data and the environment known? does the estimate include testing? Only then does the story go into the sprint.

The exit is served by the DoD. An example of a team list:

Definition of Done (an example for a team):
  [ ] Code is in main, code review passed
  [ ] Unit and API tests written, the pipeline is green
  [ ] Acceptance criteria verified on stage
  [ ] Regression around the changed modules done
  [ ] No open critical bugs
  [ ] Documentation and release notes updated

QA is responsible for several lines here: verifying the criteria, regression and the absence of critical bugs. The principle is that every DoD item must be verifiable: "quality is ensured" cannot be checked, while "regression around the changed modules is done" can be shown with a run result. If even one item is not met, the story is not Done and is not carried into the report as "almost done".

Limits and alternatives. A DoR is easy to turn from a help into a barrier: if it is read as a contract ("not per DoR, I won't take it"), the team starts arguing about form instead of discussing requirements. So a DoR is usually kept as a short checklist, not a formal obligation, and with flexibility: a small story can be taken with incomplete criteria if the team knowingly accepts the risk. A DoD must not demand the impossible ("zero bugs"): the list must be realistic and refined at retros over time. Sometimes several levels are kept: a story DoD, a sprint DoD and a release DoD, where the release level has, for example, full regression or UAT. There are organisation-level DoDs, and a team can only tighten them. In Kanban the DoR and DoD are also useful as column policies, even though there is no word "sprint" there.

Common mistakes.

  • Taking a story without acceptance criteria into the sprint: QA has to guess the expected result and the developer codes "by eye".
  • A DoD without verifiable items ("code is of good quality"): it can neither be met nor violated, so it does not work.
  • Closing a story when the criteria are met but the DoD is not: regression and documentation are postponed "for later" and build up debt.
  • Mixing up acceptance criteria and the DoD: the first are about the function of a particular story, the second about the general standard of completion.
  • Using the DoR as an excuse to refuse work instead of as a signal to discuss an unclear point.
  • Never updating the DoD: if bugs slip through regression every time, an item about regression or automated tests is worth adding.

Check yourself

The developer writes: "The story is done, all acceptance criteria work". Can it be closed? What do you check?

Answer

Not necessarily. A story is Done only when both the acceptance criteria and the DoD are met. I check the remaining DoD items: whether code review is passed, whether there are automated tests and a green pipeline, whether regression around the changed modules is done, whether there are open critical bugs, whether documentation is updated. If something is missing, the story stays in progress or moves on with an explicit agreement.

Why should the Definition of Ready not be applied as a rigid contract "not per DoR, I won’t take it"?

Answer

Because the DoR is a team practice, not a Scrum requirement, and its purpose is to expose ambiguities before work starts. Rigid use turns it into a formality and a conflict: the sides argue about matching the list instead of about requirements. A checklist with flexibility is better, where the team can knowingly take a story with a known risk.

In an interview. Junior: DoR is when a story is ready for work: it has clear requirements, acceptance criteria, mockups and an estimate. DoD is when it is complete: code merged, tested, no critical bugs, documentation updated. In ISTQB these are entry and exit criteria. Middle/Senior: The DoD is part of the Scrum Guide, while the DoR is a team practice that should not be turned into a barrier. Acceptance criteria belong to one story and the DoD is the same for all, and a story is Done only when both are met. I insist that the items be verifiable (regression done, pipeline green) and not general ("quality ensured"), and at the retro I propose extending the DoD if some category of bugs keeps slipping through.

What is shift-left and how can QA give early feedback?

Shift-left means moving testing activities as early as possible in the life cycle, because a defect is cheaper to fix where it was introduced. QA reviews requirements and mockups, asks concrete questions at refinement, records the answers in acceptance criteria, prepares test ideas before the code and tests the API against its specification. It does not cancel later checks: shift-right complements it with production monitoring and gradual rollouts.

QA Fundamentals · Processes and Agile

Users found a requirements bug in production. Where could QA have spotted it much earlier?

The requirement says: "Transfer limit 50,000 UAH per day". The developer implemented "less than 50,000", the tests passed, and only in production did customers transferring exactly 50,000 get a decline. In the bug tracker the ticket looks like a code error, but in fact the requirement was ambiguous, and the question "inclusive or not" could have been asked in five minutes at refinement. This lesson is about shift-left: what it is, which QA actions belong to it and why it does not cancel later checks.

How it works and why. Shift-left means moving testing activities as early as possible in the development life cycle. The idea rests on an ISTQB testing principle: early testing saves time and money. A defect is born where the mistake was made (a requirement, a mockup, code), and the longer it lives, the more people and artefacts are built on it: code, tests, documentation, release plans. A fix at an early stage touches one paragraph of text, while a late one needs changes to code and tests, retesting and a release.

Where to look for defects

The cost of fixing a defect grows →SpecsDesignCodeTestsProdShift-left: look for defects earlierRequirement review, questions, AC, API before UI
Figure 1. The further right a defect is found, the more it costs to fix. Shift-left moves checks to the left, to where the defect is born.

What exactly QA does on the left is shown in the table:

ActivityWhenWhat it finds
Review of requirements and mockups (static testing)Before developmentAmbiguities, contradictions, gaps, unverifiable wording
Questions at refinement, acceptance criteria in Given/When/ThenBacklog refinementBoundary values, negative scenarios, undefined rules
A joint talk of PO, developer and QA about examples ("three amigos")Before codeDifferent people understanding one requirement differently
Test ideas and test cases before the code is readyIn parallel with developmentThe developer sees what will be checked and takes it into account
A testability review: logs, element ids, data, environmentDesign and developmentA feature that is hard to verify
API tests against the specification while there is no UIIn parallel with the backendContract and logic errors without UI influence
Review of unit tests, pair testing with a developerDuring developmentCoverage gaps, logic-level errors

Example: a requirement before and after QA's questions. The initial requirement and the questions QA asks while the code is not written yet:

Requirement (before): "Transfer limit: 50,000 UAH per day."

QA questions at refinement:
  1. "Per day": a calendar day or the last 24 hours? Which time zone?
  2. Is 50,000 inclusive? What about an amount of exactly 50,000.00?
  3. Do cancelled and declined transfers count towards the sum?
  4. A limit per user or per card?
  5. What does the user see on exceeding it: the text and the remaining limit?

The five questions take a few minutes of talking to the PO, and they close five potential bugs: a different reading of "day", the 50,000 boundary, counting of declined transfers, the level of the limit and the error text. After the answers the requirement becomes verifiable:

Requirement (after the PO's answers):
  - A limit of 50,000.00 UAH per user per calendar day (Kyiv time).
  - Only successful transfers count towards the sum.
  - A transfer after which the daily sum would exceed 50,000.00 is rejected.
  - Message: "Daily limit exceeded. Available: X UAH".

Test ideas before any code: 49,999.99, 50,000.00 (allowed),
50,000.01 (rejected); two transfers summing to 50,000.00; a transfer
at 23:59:59 and at 00:00:01; a declined transfer does not reduce the limit.

Now the developer implements the rule with the boundary in mind, and the test ideas give examples on which they can check themselves before handing over to QA. The defect "less than instead of less than or equal" is not born at all. The same question at the testing stage would require finding the bug, filing a report, fixing it, retesting and possibly shipping a hotfix.

Limits and alternatives. Shift-left does not cancel later checks. Some defects appear only at integration, under load, on real data or with real users, and cannot be found on paper. So next to it there is shift-right: monitoring in production, gradual rollouts (canary, feature flags), analysis of complaints and metrics. This is a complement, not a competition: on the left we prevent, on the right we quickly detect what still slipped through. There is also a risk of overdoing it: if QA reviews everything without exception, they become a bottleneck and the team stops thinking about quality on its own. It is better to teach the team to ask "how will we verify it?" and to share the checks: the developer writes unit tests, QA focuses on risks and scenarios. Finally, shift-left needs time for refinement and a PO who answers questions: without that the practice turns into an extra queue.

Common mistakes.

  • Waiting for a ready build before starting: questions about requirements then come on day eight, when resolving them is expensive.
  • Asking vague questions ("what if something goes wrong?") instead of concrete ones ("what about an amount of exactly 50,000.00?"): a concrete one can be answered in a minute.
  • Not recording the answers in acceptance criteria: an agreement made in conversation is forgotten, and the same dispute returns at testing.
  • Thinking shift-left is only writing test cases in advance: the core of it is early questions and the review of requirements, not a document.
  • Cancelling later testing "because we already checked the requirements": early checks reduce risk but do not guarantee the absence of defects in code and integration.
  • Ignoring shift-right: without monitoring in production, the defects that slipped through are found by users.

Check yourself

The team says: "There is no UI yet, nothing to test". Name three QA actions that can be done right now and what each gives.

Answer

Reviewing requirements and mockups: I find ambiguities and gaps before code. Test ideas and acceptance criteria: the developer sees the expected result and checks themselves. API tests against the specification or a mock server: I check logic and contract without the UI. I can also prepare test data and agree on the environment so that no time is lost once the build is ready.

Why does shift-left not mean "we test only at the start", and what complements it?

Answer

Because early checks find defects in requirements and design, but not those that arise at integration, under load or on real data. Later testing stages find those. It is complemented by shift-right: monitoring in production, gradual rollouts, analysis of complaints, which quickly reveal what slipped through.

In an interview. Junior: Shift-left is testing as early as possible. I review requirements and mockups before development, at refinement I ask about boundary and negative scenarios, write test cases in advance so the developer sees what will be checked, and test the API while there is no UI. Middle/Senior: A defect is cheaper where it is born, so at refinement I ask concrete things: what about the boundary amount, which time zone, what counts towards the limit. I record the answers in acceptance criteria and give the test ideas to the developer before the code. Shift-left does not cancel later stages: integration, load and trials on real data remain, and next to it I add shift-right (monitoring, feature flags, gradual rollouts). I make sure it does not turn QA into a bottleneck: the team itself should ask "how will we verify it?".

How do you support a release and the post-release check?

A release ends not with the deploy but when it is confirmed that production works as expected. Before it, QA supplies facts for the go or no-go decision: scope, evidence, open bugs, risks, rollback readiness. The PO and the team decide. During the deploy the version, migrations and config are verified. Afterwards critical flows are checked on test accounts without irreversible actions, and metrics are watched.

QA Fundamentals · Processes and Agile

The release went out at 18:00 and the first complaints came at 18:20. What should QA have checked?

The release was rolled out at 18:00, the team went home, and at 18:20 the first complaints reached support: after the update the operations history does not open. Everything worked on staging, the regression was green. The difference turned out to be a migration that behaved differently in production than on a small test database. A release does not end at the moment of deployment but when it is confirmed that the system in production works as expected. This lesson is about what QA does before, during and after a release.

How it works and why. A release is at once a decision (to release or not), a controlled change (the deploy) and an observation (is everything fine after it). Each phase answers its own question. Before the release: is there enough evidence that releasing is fine? During the deploy: did the right version with the right configuration reach production? After: does the system behave as it did on staging, and have problems appeared that were not there? Why staging tests alone are not enough: production has different data, volumes, configuration and integrations, so some defects are visible only there.

Three phases of a release

Before releaseRegression, open bugs, risks, go/no-goDeployVersion, migrations, config; flow checkAfter releaseErrors, metrics, complaints; rollback or fix
Figure 1. A release is not only the deploy: every phase has its own checks and its own question.
PhaseWhat QA doesResult
Before the releaseConfirms the scope (all stories Done per the DoD), checks the release notes against the actual changes, runs regression, collects the open bugs with a decision on each, assesses risks, checks that rollback and monitoring are readyEvidence-based input for the go or no-go decision
DeployChecks the version, migrations, configuration and flags, does a short check of critical flows on test accountsConfirmation that production holds exactly what was planned
After the releaseWatches errors, metrics, logs and complaints, compares with the baseline, prepares checks on real dataA decision: all is well, fix forward or roll back

Go/no-go is a decision of the team and the business, usually the PO or a release manager. QA does not "allow" a release but provides facts and an honest risk assessment: what is verified, what is open, what is unknown. The criteria are worth agreeing in advance (this is in essence the release's exit criteria), otherwise on release day they get bent to fit the wish to ship.

Example: a readiness note and the post-deploy check. Compare two messages before a release:

Weak:
  "Testing is complete, we can release."

Useful (an illustrative example):
  Release 2.15.0: recommendation GO under the conditions below.
  Scope: 14 stories, all Done per the DoD; release notes checked
    against the scope.
  Verified: payments and profile regression, automated tests on
    staging green, new features walked through manually.
  Open bugs: PAY-240 (minor, workaround exists, fix in 2.15.1);
    PAY-244 (major, risk accepted by the PO, deferred).
  Risks: a new migration of the operations table, its duration in
    production is unknown; there is no reverse migration.
  Rollback: the application goes back to image 2.14.9; the
    migration does not, so with a data problem we fix forward.
  After deploy: 6 flows on test accounts, then 2 hours of watching
    errors. Owner: ...

The weak version has nothing to base a decision on. The useful one shows the scope, the evidence, the open bugs with decisions, the migration risk and a clear condition under which we roll back and under which we fix forward. Now concrete things can be discussed: was the migration tested on a volume similar to production. That is exactly the risk nobody noticed in the story from the opening.

A short list for production after the deploy:

After deploy, production, a QA test account (no real money operations):
  1. The version in the footer or a service endpoint = 2.15.0
  2. Sign-in, sign-out, password recovery (the email arrives)
  3. The card list and balance are displayed
  4. A transfer reaches the confirmation screen (not confirmed)
  5. The operations history opens, old records are in place
  6. Monitoring: the 5xx share is not above the baseline, no new log errors

The selection principle: what is the worst that happens if this flow is broken, and can it be checked without consequences. That is why the checks go through test accounts, and where an action is irreversible (transferring money) they stop at the confirmation screen. The list is short because it is run in minutes, right after the deploy. Deeper checks are not done in production: that is what staging is for.

Limits and alternatives. Rollback is not always possible: data migrations, sent emails and made payments do not come back, so in that case you fix forward (a hotfix) and build the risk into the plans. Feature flags (a feature is switched off without a new deploy) and gradual rollouts (canary, a percentage of users) help to reduce it: an error affects a smaller part of the audience. QA does not always own the release: deploying is usually done by DevOps or a release manager, while QA is responsible for checks and assessment. In teams with continuous delivery releases are small and frequent, each change passes automated checks in the pipeline, and manual pre-release regression shrinks to risky areas. In regulated fields (finance) change approvals, a log and a release window are also required. Only safe things may be tried in production: no real money operations, no deleting or changing other people's data, limited rights of the test account and an agreed process.

Common mistakes.

  • Considering the release finished after the deploy: problems show up in the first hours, and without observation users are the ones who report them.
  • Having no rollback or fix-forward plan: when something breaks, time goes on discussion instead of action.
  • Making the go decision by feel: without a list of open bugs and risks the decision is dishonest and irreversible.
  • Checking production with real money "to be sure": actions are irreversible, pollute data and reports and in many fields break the rules.
  • Making the production check long and complicated: it will not finish in time and the critical item gets lost among trifles.
  • Not checking the version in production: sometimes the wrong build is deployed or the configuration is not applied, and all later checks are pointless.

Check yourself

The quick production check after the deploy is green, but an hour later the 5xx share doubled against the usual one. What do you do?

Answer

I do not consider the green check sufficient. I match the growth with the deploy time and version, look into the logs for which endpoints and users are affected and assess the impact (is there a workaround). Together with the team I decide: roll back or fix forward, and inform the stakeholders. I file a bug with evidence (graphs, sample requests), and after stabilisation I suggest adding a matching item to the post-deploy list.

Why is a rollback of a release not always possible and what to do about it in advance?

Answer

Because some changes cannot be reversed: data migrations, sent emails, made payments. In advance this is accounted for in the plan: migrations are made compatible with both versions of the application, the new function is hidden behind a feature flag, the rollout is gradual, and where a rollback is impossible a fix-forward and the criteria for launching it are prepared.

In an interview. Junior: Before a release I run regression and give a go or no-go recommendation. After the deploy I do a quick check of the critical scenarios in production on test accounts, watch the logs and monitoring and know under what conditions the team rolls the release back. Middle/Senior: I prepare a note for the decision: the scope, what is verified, the open bugs with a decision on each, the risks and a rollback or fix-forward plan. The decision is made by the PO and the team, my role is facts and an honest assessment. After the deploy I check the version, migrations and config, run a short checklist without real money operations and watch the baseline metrics for a few hours. Where rollback is impossible I suggest feature flags and a gradual rollout.

QA's role in Scrum ceremonies and the Definition of Done

In Scrum a story is part of the increment only when it meets the Definition of Done, so QA shapes the flow, not just tests at the end. At refinement QA proposes splitting large stories, at planning includes testing in the estimate, checks stories as soon as they are ready, and watches the verification queue at the daily. Work failing the DoD is not shown as done at the review.

QA Fundamentals · Processes and Agile

Five stories left development on day nine of the sprint. How do you keep that from becoming the norm?

Day nine of ten. In the "Ready for testing" column there are five stories, and all appeared today. QA can physically verify two. At the review the team shows the ones that made it and carries the rest to the next sprint, while developers are already taking new stories. This is a mini-waterfall inside a sprint: development comes in a wave and testing queues up behind it. This lesson is about how QA changes such a flow through ordinary Scrum events and why the Definition of Done is a working tool and not a piece of paper.

How it works and why. In the Scrum Guide testing is not a separate phase: a story is part of the increment only when it meets the Definition of Done, and the increment must be ready by the end of the sprint. If verification is left for the last days, risk accumulates, and any bug found no longer gets fixed in time. For QA it follows that their contribution to the Scrum events is not only "I test" but also the shape of the flow: the size of stories, the order they are done in, the moment they are handed over for verification.

A wave or a flow

Everything at the end of the sprinttestStories come out as a flowDays 9-10: regression and review preparationdevelopmenttestdays 1-10 →
Figure 1. The same amount of work. At the top testing is squeezed into the last two days, at the bottom every story is verified right after development, and regression is left for the end.

More specifically, what QA does at each point of the sprint:

MomentQA's actionWhy
RefinementAcceptance criteria, questions, a proposal to split a large storySmaller stories leave development gradually rather than in one block
PlanningThe testing estimate, the order of work, an agreement on "what is ready first"The first stories become available for verification at the start, not at the end
Start of developmentTest data, the environment, test cases, API checks on ready partsWhen the build appears, verification starts in minutes
During developmentVerifying a story as soon as it is ready; pair testing with a developerA bug comes back while the developer still remembers the code
DailyHow many stories wait for verification, what is at risk for the sprint goalThe queue is visible in time, not on the last day
Last daysRegression, verifying fixes, review preparation; risky new changes are not acceptedThe increment is stable before the demonstration

Only what meets the DoD is shown at the review. According to the Scrum Guide, work that does not meet the DoD cannot be released or even shown at the review: it goes back to the backlog. This sounds strict, but it honestly reflects the state of the product and stops "almost done" from piling up.

Example: the DoD as a tool, not a tick. Without a check by items, "done" means "the developer has finished". Here is the same story if at the end of the day QA goes through the DoD item by item:

PAY-142 "Transfer between cards", a DoD check (day 8):
  [x] Code is in main, code review passed
  [x] Unit and API tests, the pipeline is green
  [x] Acceptance criteria 1-4 verified on stage
  [ ] Payments regression: not done (the environment was unavailable)
  [x] No critical bugs (PAY-231 closed, PAY-232 minor)
  [ ] Release notes: not updated
Conclusion: not Done. Regression tomorrow morning, notes by noon.
If we do not make it by the end of the sprint: the story is not shown
as Done, it goes back to the backlog.

What such a record gives. You can see what exactly is not met, instead of the general "still testing". The decision is obvious: two items by tomorrow, or the story goes back to the backlog. The same record shows the cause (an unavailable environment), which can be discussed at the retro as a systemic problem. Without a DoD the story would go to the review with the words "almost done", and the regression would be run afterwards, in the next sprint, together with other people's changes.

Limits and alternatives. It is not always possible to test gradually. In some fields (regulated ones, with hardware, with long regression) testing takes separate phases, and then teams introduce a stabilisation sprint or a release window. This is a compromise, not an ideal: Scrum does not provide for it, and its price is that feedback arrives later. When one QA serves several developers, the flow is limited: a WIP limit on the "Ready for testing" column, verification of some stories by the developers themselves, automated tests at the unit and API levels that relieve manual checking. Some checks do not fit a story's sprint by nature: full regression, performance, security. They are moved to nightly runs and pre-release stages, and the story DoD contains only what can be done within a sprint. A DoD must not cover bad estimates: if stories are regularly too large, they need splitting rather than more DoD items. For Kanban teams the same principles are expressed through WIP limits and flow metrics (time in a column, throughput).

Common mistakes.

  • Putting testing "at the end of the sprint" in the plan: the flow becomes a mini-waterfall and risk moves to the last days.
  • Taking large stories into the sprint that cannot be verified gradually: it is better to split them at refinement than to complain at the retro.
  • Not looking at the testing queue at the daily: when it is already too long on day nine, nothing can be changed.
  • Closing a story on the developer's word without going through the DoD: unfinished items stay "for later" and pile up.
  • Showing a story at the review that does not meet the DoD: stakeholders consider it ready and the team later explains why it does not work that way.
  • Using the DoD as a weapon against developers: it is a shared agreement, not an instrument of blame; discuss causes, not culprits.

Check yourself

Friday, the last day of the sprint. A story is in "ready for testing", its acceptance criteria are verified, but payments regression is not done yet. What do you do and what do you say at the review?

Answer

I do not mark the story Done: by the DoD the regression is not done. I tell the PO and the team now, not at the review. If possible I start the regression immediately and close the story when it passes. If we do not make it, the story is not shown as ready at the review: it goes back to the backlog with a note about what is left. I bring the cause (a late exit from development, an unavailable environment) to the retro.

Which two indicators on the board will show that testing is becoming a bottleneck?

Answer

The number of stories in the "Ready for testing" column (WIP) and the time a story spends in that column. Another signal: the share of stories leaving development in the last two or three days of the sprint, and carrying under-tested stories over to the next sprint. These are worth bringing to the daily and the retro with numbers.

In an interview. Junior: At grooming and planning I analyse stories for testability, ask about boundary cases, help to write acceptance criteria and include testing in the estimate. At the daily I say what is tested and what blocks, at the review I help show the result, at the retro I suggest process improvements. The DoD is a shared completion checklist for all stories. Middle/Senior: My goal in the Scrum events is to change the flow: split stories, agree on what is ready first, test each one right after development and watch the verification queue at the daily. A story is Done only after the DoD is passed item by item, so I show the team what exactly is not met instead of saying "still testing". What does not meet the DoD is not shown as ready and goes back to the backlog. At the retro I bring data (time in a column, carried-over stories), not impressions.

Which tests at which stage of the pipeline

Tests are laid out across pipeline stages: the closer to the commit, the faster and more stable. A merge request runs lint, unit, API and a few critical E2E tests; after the merge come wider integration tests; the full regression runs nightly; before a release regression and UAT; after the deploy a short check. Only fast, reliable checks block a merge. Flaky tests go to quarantine with an owner and a deadline.

QA Fundamentals · Processes and Agile

The pipeline on every commit takes an hour. Which tests stay on the merge and which move out?

In a team a merge request waits forty-five minutes for a green pipeline, because every commit runs the full E2E regression. Developers merge in big batches so as not to wait several times, one flaky failure forces a restart of everything, and a defect that a unit test would catch in seconds shows up only an hour later. The problem is not the tests but that they are all in one place. This lesson is about which tests to run at which stage of the pipeline, by what principle to lay them out and what exactly blocks a merge.

How it works and why. Two opposite demands apply: fast feedback and confidence. The closer a check is to the commit, the sooner the developer learns about a problem while they still remember the code, but the less time it can take. The deeper a check is (a full E2E regression, several browsers, visual and load tests), the more confidence it gives, but the longer and more expensive it is. So tests are laid out on the pyramid principle (many fast ones, fewer slow ones) and run in stages: cheap and fast first, while later ones run less often and only if the previous ones have passed. This is fail fast: it is better to find an error in a minute than in an hour.

A stage that blocks the move forward (a merge, a deploy to stage, a release) is called a quality gate. It is worth blocking only with what passes quickly and gives a reliable signal. What is long or prone to instability is moved off the blocking path so that it does not slow down the whole team.

Pipeline stages and what runs at each

Commit / merge requestlint, unit, API, minimal E2E · blocks mergeAfter merge, stageintegration, critical E2E · blocks promotionNightlyfull regression, browsers, visual · does not blockBefore releasestaging regression, UAT, new features by handAfter deploy to productionshort flow check, monitoring
Figure 1. The further from the commit, the deeper the check, the longer the run and the rarer the trigger. Only the first two stages block.
StageWhat we runWhy
Commit / merge requestA linter, type checks, unit tests, fast API tests, a small set of critical E2EAn answer in a few minutes: did I break the basics
After the merge, deploy to dev or stageIntegration tests, critical E2E scenariosWhether the components work together on a live environment
NightlyFull E2E regression on several browsers, visual regression, basic performance and security checksWider coverage without slowing development
Before the releaseFull regression on staging, UAT, manual testing of new featuresFinal confidence before the go or no-go decision
After the deploy to productionA short check of critical flows, monitoringTo confirm that the same thing works in production

Unstable (flaky) tests must not block the pipeline: they are isolated in quarantine and fixed separately. A quarantine has an owner and a deadline, otherwise it turns into a graveyard of tests.

Example: from one big job to laid-out stages. The initial version: everything in every merge request.

# Before: the whole E2E regression in every merge request
e2e-all:
  script: npx playwright test
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"

The result: a long wait, big batches instead of frequent small merges and failures whose cause is hunted among hundreds of tests. The laid-out version in GitLab CI syntax (in GitHub Actions or Jenkins the same ideas are expressed differently):

# After: fast on commit, deeper later
stages: [verify, stage, nightly]

unit-api:                       # blocks the merge
  stage: verify
  script: [npm run lint, npm run test:unit, npm run test:api]
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"

e2e-fast:                       # only critical tests tagged @fast
  stage: verify
  script: npx playwright test --grep @fast
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"

e2e-critical:                   # after the merge, on stage
  stage: stage
  script: npx playwright test --grep @critical
  rules:
    - if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

e2e-full:                       # on a schedule, does not block
  stage: nightly
  script: npx playwright test --project=chromium --project=firefox
  allow_failure: true
  rules:
    - if: $CI_PIPELINE_SOURCE == "schedule"

How to read it. A merge request runs only the fast checks: lint, unit, API and a small set of E2E tagged @fast, that is, the critical paths that must be stable. After the merge into the main branch a wider set of critical tests runs. The full regression on two browsers runs on a schedule and has allow_failure: true, so it does not block, and the team goes through the result in the morning. Such a layout keeps both speed and coverage: full coverage has not disappeared anywhere, it just stands where its delay bothers nobody.

The tags @fast and @critical are a team agreement, not a tool requirement. The harder question is which tests get which tag. The principle is this: the fast set gets the scenarios whose failure stops all work (sign-in, the main flow), and only those that are stable.

Limits and alternatives. Laying out by stages is not the only way to cut time. Parallelisation and sharding split tests among several agents, change analysis runs only the tests for changed modules (critical in a monorepo), and caching dependencies removes extra minutes. In microservices each service has its own fast pipeline with contract tests, and end-to-end checks are moved to a separate stage. Integration tests need an environment that costs money and may be unstable, so they run after the merge, not on every commit. A nightly run does not remove responsibility: if nobody looks at the result it is useless. An owner and a rule are needed that a failure is looked at the same morning. Not everything is automated: exploratory testing of a new feature remains a manual stage that cannot be built into a pipeline.

Common mistakes.

  • Running the whole E2E regression on every commit: the queue grows, merging in big batches becomes the norm and the pipeline itself puts developers off.
  • Making unstable tests blocking: the team starts rerunning "until green" and the signal loses its meaning.
  • Setting up a nightly run without an owner: red results touch nobody and regression accumulates unnoticed.
  • Duplicating the same check at every stage: time grows while there is no new information.
  • Forgetting a quarantine with a deadline: a flaky test was switched off "temporarily" and forgotten, and coverage quietly shrank.
  • Postponing everything to the pre-release regression: problems that could have been found at the commit show up a day before the release.

Check yourself

The MR pipeline takes 50 minutes because it runs the whole E2E regression. What do you move out, what do you keep and why?

Answer

On the MR I keep what is fast and stable: lint, unit, API tests and a small set of critical E2E. I move the full regression on several browsers and the visual tests to nightly, and keep the critical integration and E2E after the merge on stage. Coverage does not disappear, while feedback on the commit returns in minutes. Additionally I can parallelise and run only the tests for the changed modules.

The nightly run is red on three tests every morning and nobody looks. What is wrong with the process?

Answer

Non-blocking does not mean ignored. An owner of the result and a rule are needed that a failure is looked at the same morning: it is either a defect (a bug) or an unstable test (quarantine with a deadline and a fix). Without that the signal is noisy, the team gets used to red and a real regression gets lost in it.

In an interview. Junior: The closer to the commit, the faster the tests: on every merge request lint, unit, API and a small set of E2E, on stage a wider set, at night the full regression, before the release regression and UAT, after the deploy a short check. Unstable tests do not block the pipeline, they are fixed separately. Middle/Senior: I lay out tests by the balance of speed and confidence: only fast and stable checks block (a quality gate), deeper ones run on a schedule and their results have an owner and a same-morning review. I cut time with parallelisation, sharding and running only the affected tests. I isolate flaky tests in quarantine with a deadline so that nobody gets used to red. Manual testing of new features remains a separate stage that cannot be built into the pipeline.

Test strategy and test plan in an Agile team

In an Agile team testing is planned continuously and concisely instead of in a heavy document. The set is a one-page strategy, a release plan and acceptance criteria in stories. The strategy changes rarely, the release plan is updated together with decisions, and iteration criteria live in the Definition of Ready and Definition of Done. QA keeps the document and the whole team agrees it.

QA Fundamentals · Processes and Agile

The sprint lasts two weeks and a manager asks where the test plan is. What exactly do you record in Agile?

The team works in two-week sprints. A manager asks for a test plan, and a tester recalls a thirty-page document from a former company that went stale in the first week. The Agile Manifesto values working software over comprehensive documentation, but that is not a refusal of documentation: testing still has to be planned. The interview question is what you record, who is responsible for it and how it is kept current. The difference between a strategy and a plan in general is covered in the lesson about them, and here it is about how this looks in an Agile team.

How it works

Per ISTQB CTFL 4.0, iterative development plans at two levels, release and iteration, so a test plan is not written once. A plan describes the context, assumptions and constraints, stakeholders and communication, risks, the test approach, budget and schedule. In Agile the same contents are spread across three levels by how fast they change:

LevelWhat it recordsOwnerWhen it is updated
Strategy, 1 pageTest levels and types, what we automate, environments, test data, defect rules, metricsA senior QA or QA lead keeps it, the team agreesRarely: at a retrospective, after an escaped defect or an architecture change
Release or epic plan, half a pageScope, key risks, deviations from the strategy with a reason, environments, dependencies, exit criteriaQA drafts it, the PO and the dev lead confirmAt release planning and when the scope changes
IterationAcceptance criteria of stories, Definition of Ready and Done, test tasks in ticketsThe whole team, QA watches testabilityAt refinement and sprint planning

Per CTFL 4.0, in Agile the exit criteria are usually called the Definition of Done, and the entry criteria that a story must meet before development or testing starts are called the Definition of Ready. So a large part of the "sprint test plan" already lives in tickets and the DoD, and a separate document would duplicate it. In other words, a document has to answer the questions people really ask and sit where they ask them.

The owner. The team is responsible for the plan, but someone holds the pen. Usually it is QA: not because quality belongs to QA alone, but because the tester is the one who sees when the plan has drifted from reality. The owner’s job is not to write the document but to make sure it is current and that the rest of the team reads it.

Example: from thirty pages to two

Before: a thirty-page test plan copied every sprint with the dates changed. After: a page of strategy and a fragment of a release plan that is updated together with the decisions.

Strategy (updated at the retro on 14 Nov, v7)
  Levels: unit (developers), API (QA), UI only key flows.
  Automation: everything we run daily; new things manual first.
  Environments: dev, staging (as prod), prod monitoring only.
  Defects: severity by the matrix, a payment blocker = Critical.
  DoD: acceptance criteria passed, API tests in the pipeline.

Release 2.14 plan (updated 21 Nov)
  Scope: new card limits, updated date library.
  Risks: limit calculation (new logic), dates across time zones.
  Deviation from the strategy: the limits UI test is manual,
          reason: the screen is still changing.
  Exit criteria: zero open Critical/High in payments.
  Dependencies: test cards from the partner bank by 28 Nov.

Why this works. Every line answers a question the team will ask itself: what we test, where the risk is greatest, when we can release. The deviation from the strategy is recorded with a reason, so a month later nobody asks "why is this not automated". The dates and version make staleness visible.

Updating. The document is changed at the moment of the decision, not at the end of the sprint: a new dependency, a changed scope, a new risk, an escaped defect or a retrospective action. A date and a short change note are recorded. A document nobody has touched for two release cycles is reviewed: either it is still true or it is removed.

Limits and alternatives

  • In regulated fields (medical, audited finance) the plan is a mandatory deliverable, and its formality is dictated by a regulator or a contract. Then it is kept as required, and Agile practices stay within those requirements.
  • A Kanban team has no sprint level: what remains is the strategy, a plan for larger changes and the rules in tickets.
  • The size of a document should match the number of decisions it supports. For a small team and one product a page of strategy is enough.

Common mistakes

  • Copying the plan every sprint. The dates change, the content does not, and the document stops being true. Consequence: nobody reads it.
  • Having no plan at all because "we are Agile". Risks and dependencies live in people’s heads, and a newcomer or a vacation breaks the process.
  • Duplicating the strategy in every plan. The copies drift apart. The plan holds only the deviations and a link.
  • Making QA the sole owner of quality. QA keeps the document, but the whole team agrees the criteria.
  • Keeping the document where nobody sees it. A link to it belongs in the epic and on the board.

Check yourself

Mid-sprint the product owner adds an integration with a new payment provider to the release. What do you update and where?

Answer

The release plan: scope, the new risk, dependencies (the provider’s test credentials), environment, exit criteria. I change nothing in the strategy if the general rules stay. At iteration level I add stories with acceptance criteria and tell the team. I record the change with a date on the day of the decision.

A manager demands a separate test plan for every sprint "for reporting". How do you respond?

Answer

Find out which question the report must answer and provide that: the sprint goals and risks are already in planning, the criteria in the DoD and tickets, the status in the test report. Offer links to those artifacts and the release plan instead of a new document. If a regulator or a contract requires a formal plan, assemble it from the existing data.

In an interview. Junior: In Agile testing is still planned, but lightly: a one-page strategy, a release plan and acceptance criteria in stories. I update the document when the scope or a risk changes. Middle/Senior: I spread the content over three levels by speed of change: the strategy changes rarely and is reviewed at retros, the release plan is updated with decisions, and iteration criteria live in the DoR, DoD and tickets. QA keeps the document and the team agrees it. The plan holds only deviations from the strategy with a reason, and I produce a formal plan only when a regulator or a contract requires it.