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

QA Fundamentals › Processes and Agile

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.

More articles in this chapter