Acceptance Criteria and the Definition of Done

Recently some of the teams I’m coaching found it difficult to distinguish between acceptance criteria for user stories and the definition of done. Here’s my attempt to make the distinction clear: 
 

  • For a user story or feature to be “potentially shippable” it needs to meet the expectations of the Product Owner and be of the agreed quality.
  • The Product Owner’s expectations are phrased as acceptance test criteria. Acceptance test criteria are conditions of satisfaction specific for each individual user story. (For more on acceptance criteria read “On Acceptance Criteria”).
  • The user story’s (internal) quality is defined in the “Done” statement. The “Done” statement is applicable to all user stories in the project.

 

Here’s an example:

 
User Story:
“As a music lover I want to be able to pay for my album by VISA card”
 

Example Acceptance Criteria (specific for this story): 

  • I can purchase an album by VISA card
  • I cannot pay with a VISA card that’s expired
  • I cannot pay with a VISA card with a wrong number

 
Example Definition of Done (DoD) (valid for ALL stories): 

  • 0 (known) bugs
  • Passed unit tests
  • Passed automated Cucumber acceptance tests
  • Passed cross browser testing
  • Passed UAT
  • Code peer reviewed (if not pair programmed)
  • Relevant documentation updated

 
The “Definition of Done”(DoD) is the team/project’s quality statement for a user story or feature and ensures that a feature is 100% developed and tested. It is a statement that no more work is left to be done on this piece of functionality (90% done doesn’t count!) and that it works without errors.


 
 

Sandy Mamoli
4 Comments
  • It is interesting to see how teams set their Definition of Done differently. Blogged about the topic a long time ago (but it seems t be still up to date): http://tomek.kaczanowscy.pl/2010/05/what-is-done/

    February 9, 2016 at 12:54 am
  • Do we write acceptance criteria for improvements?

    May 19, 2016 at 2:43 pm
  • Johne846
    Reply

    I just like the valuable info you provide in your articles. I will bookmark your weblog and check once more here frequently. I am moderately sure I will be told lots of new stuff right right here! Best of luck for the following! cdecccbefgeg

    September 25, 2016 at 11:06 am

Post a Comment