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

QA Fundamentals › Processes and Agile

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.

More articles in this chapter