Bookmarks

DoD — Definition of Done

A formal description of what must be done for work to count as complete: tests, code review, documentation, deployment.

Also: increment definition of done

checked 9 Nov

All terms

With a Definition of Done, the team agrees in advance what “done” means — not “the code is written”, but “it can be shown to users”. A backlog item counts as complete only when every point on the list is met; otherwise the work goes back to the backlog.

How it works in Scrum

In the 2020 Scrum Guide, the DoD is the commitment for the increment artifact, just as the product goal is the commitment for the product backlog and the sprint goal for the sprint backlog. It is a formal description of the state of the increment when it meets the product’s quality measures. An increment is born the moment a backlog item meets the DoD.

  • work cannot be counted as part of the increment until it meets the DoD;
  • an item that has not met the DoD cannot be released or shown at the sprint review — it goes back to the backlog;
  • if a DoD is part of the organisation’s standards, all teams follow it as a minimum; if not, the team develops one for its own product;
  • several teams working on one product agree on a single DoD and follow it.

What is usually included

ItemCheck
Codewritten and passed review by a second developer
Testsautomated tests green in CI, acceptance criteria met
Qualitystatic analyser with no blocking findings
DocumentationREADME or changelog updated
Deploymentchange deployed to staging, migrations applied

Every team has its own set of points. A web application team might keep the DoD in a wiki next to the board: code reviewed by a second developer, automated tests passing, documentation updated, change deployed to staging, acceptance criteria met. Points are checked as the work progresses — work that has not met the DoD does not reach the sprint review.

DoD and acceptance criteria

The DoD is shared across all of the team’s work and resembles a production standard: what must be done for every backlog item. Acceptance criteria are specific to each story and describe its function: how the system should behave in a particular case. A story is ready when both the common DoD and its own acceptance criteria are met.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • acceptance criteria

    There is one Definition of Done per team covering all of its work, while acceptance criteria are specific to each story and describe its function.

In depth in the references

where the topic is covered in detail