Skip to content
TestLine Menu
TestLine
QA process

Definition of Done from a tester's perspective: what it should include

Quality points worth having in your Definition of Done, an example ready to copy, and how a DoD differs from acceptance criteria.

author
Artur Machowski, Senior QA Engineer
published
reading
5 min

Short answer

A Definition of Done (DoD) is a list of conditions that every task must meet to count as finished. From a tester’s perspective it should include at least: unit and API tests for new logic, a green pipeline, acceptance criteria checked by someone other than the author, no open critical bugs, a regression test for every fix and the change deployed to the test environment. Six points the team follows beat 20 that exist only on paper.

10 quality points for a Definition of Done

  1. The code has passed review.
  2. New logic has unit or API tests.
  3. The CI pipeline is green, including the smoke test.
  4. The acceptance criteria were checked by someone other than the author, e.g. a tester or another developer.
  5. There are no open critical or high bugs in this task.
  6. Every bug fix has a test that will catch the bug if it comes back.
  7. The change is deployed to the test environment and checked there.
  8. New critical paths have an E2E test, or a task to add one.
  9. If the task changes the UI, it’s checked on a phone, along with basic accessibility: keyboard, field labels.
  10. The descriptions the team relies on are updated: API docs, instructions, release notes.

Example for a Scrum team

DEFINITION OF DONE (Payments team, from 1 Dec 2026)

[ ] code review approved
[ ] unit / API tests for new logic
[ ] pipeline green
[ ] acceptance criteria checked by the tester
[ ] no open critical or high bugs
[ ] regression test for every fix
[ ] deployed and checked on staging

Seven points you can check in 2 minutes when reviewing a task. Add more once these become habits.

DoD vs acceptance criteria

Definition of Doneacceptance criteria
applies toevery taskone specific feature
example“pipeline green”“the customer gets an order confirmation email”
who sets itthe whole team, from time to timethe product owner with the team, for each task
changesrarelywith every feature

How to write acceptance criteria you can actually check is covered in how to test requirements before the code is written.

Common mistakes

  • a DoD copied from the internet: 20 points, of which the team does 5;
  • points you can’t check, e.g. “good quality code”;
  • “tested” without saying by whom: the author always thinks their code is tested;
  • “just this once” exceptions that become the rule before every deadline;
  • a DoD that’s never updated: the team has had E2E tests in CI for ages, but the DoD doesn’t mention them.

How I can help

In a QA audit I look at how the team really finishes tasks and propose a Definition of Done that fits your process, together with a one-page test strategy. Describe your team in the contact form.

Frequently asked questions

What is a Definition of Done?

It's a list of conditions, shared by the whole team, that every task must meet to count as finished. It applies to all tasks, unlike acceptance criteria, which describe one specific feature.

How does a Definition of Done differ from acceptance criteria?

Acceptance criteria say what a specific feature must do, e.g. 'the customer gets a confirmation email'. The Definition of Done says what must be done for every feature, e.g. tests in CI, code review, up-to-date documentation.

Which testing points should be in a Definition of Done?

Unit and API tests for new logic, a green pipeline, acceptance criteria checked by someone other than the author, no open critical bugs, a regression test for every fix and the change deployed to the test environment.

Who sets the Definition of Done?

The whole team, together with the product owner. The tester usually proposes the quality points. A DoD imposed from outside is rarely followed.

What if the team doesn't follow the Definition of Done?

Check whether the points are realistic in current conditions and cut the list down to what the team really does. Then add one point at a time as the previous ones become habits. A DoD nobody follows is worse than a short one that's true.

Got a release in a few weeks?

Describe your project in the form. I'll reply with questions about scope or an initial test plan.