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
- The code has passed review.
- New logic has unit or API tests.
- The CI pipeline is green, including the smoke test.
- The acceptance criteria were checked by someone other than the author, e.g. a tester or another developer.
- There are no open critical or high bugs in this task.
- Every bug fix has a test that will catch the bug if it comes back.
- The change is deployed to the test environment and checked there.
- New critical paths have an E2E test, or a task to add one.
- If the task changes the UI, it’s checked on a phone, along with basic accessibility: keyboard, field labels.
- 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 Done | acceptance criteria | |
|---|---|---|
| applies to | every task | one specific feature |
| example | “pipeline green” | “the customer gets an order confirmation email” |
| who sets it | the whole team, from time to time | the product owner with the team, for each task |
| changes | rarely | with 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.