Definition of done (DoD) is crucial to a highly functioning scrum team. The following are characteristics that you should look for in your team’s definition of done. Verifying that your team’s DoD meets these criteria will ensure that you are delivering features that are truly done, not only in terms of functionality but in terms of quality as well.
Definition of done is a simple list of activities (writing code, coding comments, unit testing, integration testing, release notes, design documents, etc.) that add verifiable/demonstrable value to the product. Focusing on value-added steps allows the team to focus on what must be completed in order to build software while eliminating wasteful activities that only complicate software development efforts.
Reporting in its simplest form is the ability to say, “This feature is done.” After all, a feature or product backlog item is either done or it is not done. DoD is a simple artifact that adds clarity to the “feature is done” statement. Using the definition of done as a reference for this conversation a team member can effectively update other team members and the product owner.
Scrum asks that teams deliver “increments of value” at the end of every sprint. In reality, many teams are still working towards an increment of value. Such teams may have a different DoD at various levels:
There are various factors that influence whether a given activity belongs in the DoD for a feature, a sprint or a release. Ultimately, the decision rests on the answer to the following three questions:
Certified Scrum Trainer Chris Sterling recommends that for activities that cannot be included for a sprint/feature, teams should, “Discuss all of the obstacles which stop them from delivering this each iteration/sprint.”
Common root causes for impediments include:
The DoD changes over time. Organizational support and the team’s ability to remove impediments may enable the inclusion of additional activities into the DoD for features or sprints.
Features/stories are broken down into tasks both during sprint planning and also within a sprint. The DoD is used to validate whether all major tasks are accounted for (hours remaining). Also, after a feature or sprint is done, DoD is used as a checklist to verify whether all necessary value-added activities were completed.
It is important to note that the generic nature of the definition of done has some limitations. Not all value-added activities will be applicable to each feature since the definition of done is intended to be a comprehensive checklist. The team has to consciously decide the applicability of value-added activities on a feature-by-feature basis. For example, following user experience guidelines for a feature that provides integration point (eg. web service) to another system is not applicable to that particular feature; however, for other features within the system that do interface with a human being, those user experience guidelines must be followed.
The definition of done is orthogonal to user acceptance criteria (functional acceptance) for a feature. It is a comprehensive checklist of necessary, value-added activities that assert the quality of a feature and not the functionality of that feature. Definition of done is informed by reality where it captures activities that can be realistically committed by the team to be completed at each level (feature, sprint, release).
Dhaval Panchal is an experienced Scrum Alliance Certified Enterprise Coach® (CEC), Certified Scrum Trainer® (CST), Certified Agile Leadership-Educator (CAL-E), and organization design consultant. He is the founder of Evolve Agility, a Texas-based coaching and training consultancy. He is actively involved in the agile community in Houston and has led large-scale agile transformations for companies in the oil and gas, banking, insurance, gaming, and medical industries. He has more than 17 years of agile implementation, coaching, and transformation experience.