Agile Testing: How to Get Quality Assurance Right in Scrum Teams
In many Scrum teams, the sprint looks agile on the board – and still runs like a small waterfall: the first eight days are spent developing, the last two testing, and whatever isn’t finished slips into the next sprint. Agile testing means something different. Quality is not created in a test phase at the end, but in every step of the sprint – from refinement to review. This article shows how that works in practice, what role testers play in a Scrum team and which mistakes you should avoid.
What agile testing is about
Agile testing is not a separate test technique but a way of working: tests accompany development from the start, feedback arrives in hours instead of weeks, and the whole team is responsible for quality. Traditional approaches have dedicated test levels and phases that run one after another. In Scrum, every sprint must end with a usable, tested increment. A separate test phase has no place in that rhythm.
This leads to three principles that Lisa Crispin and Janet Gregory shaped in their standard work “Agile Testing” and that still apply today:
- Testing is an activity, not a phase: it happens continuously, in parallel with development.
- Prevent defects rather than only finding them: good questions in refinement save defect tickets later.
- Quality is a team responsibility: developers, testers and the Product Owner are jointly responsible for a story being truly done.
How testing generally differs between both worlds is described in our article Agile vs. Traditional Project Management.
Testing in the sprint: from refinement to review
Refinement: make acceptance criteria testable
Agile testing starts before the first line of code is written. In backlog refinement, testers check together with the Product Owner and developers whether a user story is understandable and testable. The “Three Amigos” format has proven effective: business, development and testing discuss a story from their respective perspectives and capture concrete examples. Written in the Given – When – Then pattern, these examples become directly verifiable acceptance criteria. Vague wording such as “fast” or “user-friendly” stands out immediately. How to describe requirements cleanly from the outset is shown in Clean Requirements in IT Projects.
Sprint Planning: plan the testing effort too
When the team estimates a story, the testing effort is part of it: preparing test data, automating tests, exploratory checks, adapting regression tests. If only development is estimated, the team systematically takes on too much – and testing becomes the buffer that is missing at the end of the sprint.
During the sprint: test early and in small steps
To avoid a mini-waterfall, the team works on few stories at the same time and finishes them one after another. As soon as a story reaches a testable state, it is checked – not only once all stories have been developed. Deviations are clarified directly in conversation rather than queued as tickets.
The Definition of Done as a quality commitment
The Definition of Done (DoD) defines when a story counts as done. According to the Scrum Guide, it is a binding commitment to the quality level of the increment. For testing it is the most important tool, because it prevents “done” from quietly meaning “developed but not yet tested”. A practical DoD contains, for example:
- acceptance criteria are met and verified,
- unit tests are written and pass in the build pipeline,
- relevant automated regression tests are added or updated,
- there are no open high-priority defects for this story,
- necessary documentation, for example for operations or users, is updated.
The DoD should fit team and product and become stricter as the team matures.
The agile testing quadrants as a guide
Which tests does an agile team need? A widely used guide is the agile testing quadrants, originally described by Brian Marick and popularised by Crispin and Gregory. They classify tests by two questions: do they support the team during development or critique the finished product? And are they technology-facing or business-facing?
- Quadrant 1 – technology-facing, supporting the team: unit and component tests, usually automated.
- Quadrant 2 – business-facing, supporting the team: functional tests based on acceptance criteria and examples, automated where possible.
- Quadrant 3 – business-facing, critiquing the product: exploratory tests, usability tests and acceptance tests by users – mostly manual.
- Quadrant 4 – technology-facing, critiquing the product: non-functional tests such as load, performance and security tests, mostly tool-supported.
Many teams cover quadrants 1 and 2 well but neglect exploratory testing or postpone performance topics until shortly before go-live. How to tackle the latter in time is shown in our article on load testing.
No sustainable agile testing without automation
With every sprint the software grows – and so does the number of functions to recheck after a change. Manually, this soon no longer fits into a sprint. Agile testing therefore depends on test automation: unit tests as a broad base, integration and API tests above them and only a few carefully selected UI tests, as described by the test pyramid. The automated tests run on every change in the CI/CD pipeline and provide feedback while the change is still fresh.
Automation is part of the story, not a separate project to be caught up on “at some point”. How to go about it is described in Introducing Test Automation: A 6-Step Guide and Regression Testing: How to Secure Stable Releases.
Exploratory testing: what automation doesn’t find
Automated tests check what someone defined in advance. Many critical defects, however, arise where nobody thought to look: unusual inputs, unexpected sequences, interactions between several functions. This is where exploratory testing comes in. A tester explores the application deliberately with a clear mission, such as “check invoice correction with edge cases”, within a fixed time box. This session-based form makes exploratory testing plannable and fits the sprint rhythm.
Testing in Scrum: the role of testers and the Scrum Master
The Scrum Guide has no “tester” role. Everyone working on the increment is a Developer – including test specialists. That does not make testing expertise redundant. On the contrary: testers contribute methodological knowledge, for example of test design techniques such as equivalence partitioning or boundary value analysis, ask the uncomfortable questions in refinement and coach the team in testing. Developers, in turn, write unit tests and help with automation when stories pile up in test.
When several teams work on one product, cross-team coordination is needed as well: shared test environments, test data, cross-team integration tests and a common view of quality status before a release. These tasks can be captured in a lean test plan, even in an agile setting. Who takes on this coordination is described in Test Management: Tasks, Role and Process.
The Scrum Master does not test themselves, but creates the conditions for quality: they make sure testing is part of the Definition of Done, that impediments such as missing test environments or test data are removed quickly and that the team does not push testing into the next sprint under time pressure. In retrospectives, they help the team look at defects that were only found later and improve its way of working.
Common mistakes in agile testing
- Mini-waterfall in the sprint: testing only happens in the last few days, unfinished stories move to the next sprint.
- Automation always “next sprint”: the manual regression burden grows until releases are only possible with hardening sprints.
- Unclear acceptance criteria: what isn’t described can’t be tested in a targeted way – discussions shift to the review.
- Forgetting acceptance: especially in regulated environments, a traceable acceptance is needed despite agile working. How to get it right is shown in Acceptance Testing: How to Get Software Sign-Off Right.
Conclusion
Agile testing works when quality is considered from the first conversation about a story: testable acceptance criteria in refinement, realistically planned testing effort, testing in parallel with development, a binding Definition of Done and growing test automation. Testers remain indispensable – as experts in test methods and as drivers for the whole team. Read more about the mindset behind Scrum in Agile Transformation: What Scrum Really Means.
Frequently asked questions about agile testing
Does a Scrum team need a dedicated tester?
The Scrum Guide does not define a separate tester role, but testing expertise in the team is highly recommended. A person with testing experience ensures testable acceptance criteria, suitable test techniques and a sensible automation strategy. Responsibility for quality still lies with the whole team.
How do acceptance tests fit into Scrum?
Business checks take place continuously, for example by the Product Owner and in the Sprint Review. Where contracts or regulations require formal acceptance, it is planned for a release and carried out on the basis of the increments already tested. This keeps acceptance manageable and traceable.
Is agile testing the same as test automation?
No. Test automation is an important building block that keeps regression testing possible at sprint pace. But agile testing also includes testable requirements, exploratory tests, non-functional tests and collaboration within the team. Automation without these foundations does not lead to better quality.
What role does the Scrum Master play in agile testing?
The Scrum Master does not usually test, but makes sure quality is part of the way the team works: testing is anchored in the Definition of Done, impediments such as missing test environments or test data are removed quickly, and defects found after the sprint are discussed in the retrospective.
Quality assurance for your Scrum teams
30-minute initial consultation — free and without obligation. Together we look at your teams and show how testing can be integrated effectively into your sprints.
Book a Free Initial ConsultationMore about our service: Software testing & quality assurance in Hamburg →