Skip to content
Back to log

How to define a Definition of Done

Chainabit's Chao · · 8 min read

In short

A Definition of Done defines a shared standard for completed work. Explore example criteria, the difference from acceptance criteria, and responsibilities within Scrum.

A Definition of Done is a set of shared criteria that must be met for work to be considered complete. Mountain Goat Software defines it as the Scrum Team’s shared understanding of completed work. This standard expresses the quality and completion conditions that an Increment must meet.

According to the Scrum Guide, the Definition of Done is the commitment for the Increment. An Increment is a concrete step toward the Product Goal. An Increment is created the moment a Product Backlog item meets the Definition of Done. The definition provides transparency by showing which quality measures the Increment meets.

Establishing completion criteria

Atlassian recommends involving the people who should have a say in what completion means for the project when creating a Definition of Done. These may include the Product Owner, Scrum Master, Scrum Team members, test specialists, product managers, sponsors, and relevant stakeholders. Participants contribute to defining criteria related to their areas of expertise.

According to Atlassian, the criteria should be specific, measurable, achievable, relevant, and time-bound statements. The publication gives specifying that code has passed unit, integration, and end-to-end tests as a more concrete example than simply saying the code has been tested. Criteria vary according to the type of project and the team doing the work.

Mountain Goat Software recommends starting with a standard the team can meet and improving it over time. For example, a team that relies mainly on manual testing may not be able to provide fully automated regression test coverage immediately. The team can establish adding appropriate automated tests for each new function as its initial standard and reduce its existing test debt over time.

Example criteria for software work

In Mountain Goat Software’s software team example, writing and committing the code is one of the completion criteria. The list also includes compliance with the team’s coding standards. Having the work reviewed by another team member or produced through pair programming is another example condition.

In the same example, appropriate automated tests are expected to have been added and passed, significant manual or exploratory tests completed, and the work integrated into the product. The list also includes the product working in supported browsers and environments. Having no known critical or high-severity bugs remaining open for the work is another example criterion.

Atlassian gives different examples for different types of projects. In a mobile application project, compressing images or minifying and compressing code with gzip can be used as criteria. In a software project, deploying the Increment to a staging environment and having the team test it may be among the criteria.

Mountain Goat Software notes that testing levels may vary by product. Examples in the publication include unit test, service-level test, UI test, exploratory testing, performance testing, and security testing. When the work requires it, updating user-facing help, release notes content, or API descriptions may also be part of the completion standard.

Mountain Goat Software’s marketing team example includes having the copy and design reviewed and approved, ensuring the work complies with brand standards, and obtaining approval from the required stakeholders. Scheduling or publishing the work in the correct system is also part of the same example. The publication presents these lists as examples for different types of work.

The difference from acceptance criteria

According to Mountain Goat Software, acceptance criteria describe what conditions must be true for a specific Product Backlog item to meet a Product Owner’s or stakeholder’s need. These conditions vary from item to item. The Definition of Done contains shared standards that apply to all or nearly all completed work.

Mountain Goat Software explains this difference using an online shopping site example. For search work, the ability to search by type, price range, or rating could be acceptance criteria. Payment work in the shopping cart requires different conditions, such as charging the correct amount and calculating the shipping fee correctly. Informing the buyer when a card is declined and allowing them to update their card is another example given for the payment work.

In the same example, testing the work, committing the code, ensuring it works in supported browsers, and integrating it into the product could be shared Definition of Done criteria. According to Mountain Goat Software, for a Product Backlog item to be considered complete, it must meet both its own acceptance criteria and the team’s Definition of Done standard.

Atlassian also associates acceptance criteria with user stories or features. In its search field example, the field being in the top navigation bar and the search starting after the Search button is pressed are conditions specific to that story. The same example also includes the specified gray placeholder text appearing inside the field.

Turn this insight into action.

Use the mobile app to continue with guided workflows.

The Increment and the release decision

According to the Scrum Guide, an Increment must be usable. Each Increment is added to previous Increments and thoroughly verified to ensure that all Increments work together. Multiple Increments can be created within a Sprint, and their sum is presented at the Sprint Review. An Increment may be delivered to stakeholders before the Sprint ends; the Sprint Review is not a gate for delivering value.

Mountain Goat Software explains the difference between being complete and being released. A completed Increment is in a usable state. Release is the Product Owner’s or organization’s decision to make the work available to users or customers. A team can produce a completed Increment every Sprint and release less frequently.

According to the Scrum Guide, when the Definition of Done is not met, a Product Backlog item cannot be part of the Increment. Such an item cannot be presented at the Sprint Review and returns to the Product Backlog for future consideration.

Planning and responsibilities

According to the Scrum Guide, Developers are responsible for instilling quality into the work by adhering to the Definition of Done. During Sprint Planning, they plan the work needed to create an Increment that meets the Definition of Done for each selected Product Backlog item. The publication identifies breaking Product Backlog items into smaller work items as one way to do this planning. Developers decide how the work will be done.

According to Mountain Goat Software, estimates should include all the work needed to meet the Definition of Done. If the standard requires automated tests for new work, the effort to create those tests is included in the estimate. If changes to user-facing behavior require updates to the relevant help content, that work is also part of the estimate.

The Scrum Guide says that the organization may have established the Definition of Done as a standard for the product. In that case, all Scrum Teams must follow at least that standard. If there is no organizational standard, the Scrum Team creates a Definition of Done appropriate for the product. If multiple Scrum Teams work on the same product, the teams must mutually adhere to the same Definition of Done.

Mountain Goat Software notes that Developers know what is required to create a usable Increment. For the Product Owner, the standard concerns release decisions, stakeholder expectations, and product quality. The Scrum Master helps the team inspect and improve the Definition of Done.

Limits and updates to the criteria

According to Mountain Goat Software, behaviors specific to an item belong in acceptance criteria. The ability to search by price range is an example of a condition specific to search work. One-time project tasks are also generally not a completion standard to be applied repeatedly. Moving the payment database to another provider is an example of this type of work.

According to the same publication, statements such as “testing is complete” or “the work is high quality” are not specific enough to support a decision. By contrast, adding and passing appropriate automated tests or having the work reviewed by another team member are examples of observable criteria. The standard should be general enough to apply to multiple work items and specific enough to help with decisions.

Mountain Goat Software explains that some product-wide nonfunctional requirements may also be included in the Definition of Done. In its example, the team first makes the product compatible with a browser that will be supported. The Definition of Done can then be updated to add continued support for that browser in subsequent work to the completion standard. The same approach can be applied to product-wide attributes such as accessibility, privacy, and security.

According to the Scrum Guide, during the Sprint Retrospective, the Scrum Team inspects the Definition of Done as well as people, interactions, processes, and tools. Mountain Goat Software lists recurring quality problems, late testing, and bugs found in work said to be complete among example situations for reconsidering the standard.

Definition of done on the NEXUS Board

In NEXUS, Board columns are defined as stages; they are not status values. Moving a card between columns does not change the work’s status value. A Definition of done can be configured for each column in the New Column or Edit Column area.

According to NEXUS, the Definition of done expresses in the team’s own words what completion means in the relevant column. The text is displayed in the column and presented again for confirmation when a card is moved to that column. Moving a card within the same column does not request confirmation of the Definition of done again.

Ready to start?

Download the app and continue from your phone.

End of Entry