skip to content

How does the Definition of Done differ from a story's acceptance criteria?

level: middleimportance: must knowfreq 71%

answer

  1. Two gates, not one
  2. Right thing versus built right
  3. One of them retires with its item
  4. Would it fit the next twenty items?

basics

~20 s

Acceptance criteria answer whether one item is the thing that was asked for; the Definition of Done answers whether any item is built well enough to release. Criteria vary per item; the standard is one list applied to every item.

solid answer

~50 s

They are two independent gates and both must hold. **Acceptance criteria** belong to a single item and describe the behaviour it must exhibit — which cases are covered, what the user sees, what happens at the edges. They are meaningless outside that item and retire with it. The **Definition of Done** belongs to the product and describes the condition any finished work must be in: reviewed, verified by the agreed automated checks, observable, documented, deployed where the team agreed. It says nothing about what the item does. So an item can satisfy every criterion and still not be finished because nobody reviewed it; and it can satisfy the whole standard and still be rejected because the behaviour is wrong. The placement test is simple: would this condition make sense written against the next twenty items? If yes, it belongs in the standard.

code

pseudocode · 12 lines
pseudocode
ITEM: overdue-loan reminder on the catalogue account page

ACCEPTANCE CRITERIA  (this item only)
  - An account with overdue loans lists them above current loans
  - Each overdue loan shows days overdue and the fee so far
  - An account with no overdue loans shows no reminder area

DEFINITION OF DONE  (every item, every Sprint)
  - Reviewed and approved by a second developer
  - Agreed automated checks pass on the integrated codebase
  - User-facing changes meet the team accessibility rules
  - Deployed to the shared environment and usable there

go deeper

for a junior

Know that acceptance criteria describe one item's behaviour while the Definition of Done describes how all finished work is built, and that both must hold before anything ships.

for a middle

Be ready with the placement test — would this condition make sense on the next twenty items? — and to explain why quality activity written per item is the activity that gets skipped.

for a senior

Show judgement on borderline non-functional requirements: which belong in the team standard because they hold everywhere, and which stay with the single item that motivated them.

for a principal

Talk about cost asymmetry: a criterion is cheap and local, while a new line in the standard is a promise the whole product must keep under every deadline that follows.

Both a team-wide **Definition of Done** and an item's **acceptance criteria** must hold before work ships, and they are not interchangeable. They answer two different questions, and mistaking one for the other is the most common vocabulary error in interviews on this subject. ## The two questions - **Acceptance criteria** answer *is this the thing we asked for?* They describe the behaviour a specific item must exhibit for the Product Owner to accept it: which cases are covered, what a user sees, what the rules are at the edges. They are meaningful only in the context of that item, and they retire with it. - **The Definition of Done** answers *is it built well enough to be released?* It describes the condition any finished work must be in — reviewed, verified by the automated checks the team agreed, observable, documented, deployed where the team agreed. It says nothing about what the item does, and it applies unchanged to the next item and the one after that. An item can satisfy every acceptance criterion and still not be finished, because nobody reviewed it and the checks are failing. An item can satisfy the entire team standard and still be rejected, because the behaviour is not what was asked for. Neither substitutes for the other, and passing one says nothing at all about the other. ## A comparison | | Definition of Done | Acceptance criteria | |---|---|---| | Scope | Product-wide; all work | A single backlog item | | Concerns | How the work is built and verified | What the work must do | | Owner | The Scrum Team, above any organisational minimum | Product Owner together with the Developers | | Lifetime | Long-lived; changed deliberately | Created and closed out with the item | | Varies between items | No — that is the point | Yes — that is the point | | Failure means | Not releasable | Not the requested behaviour | | Typical line | Reviewed by a second developer | Overdue loans are listed above current loans | ## The placement test When a new condition appears, ask one question: *would this make sense written against the next twenty items?* If yes, it is a property of how the team works and belongs in the standard. If it names a particular screen, rule or user, it belongs with the item. Non-functional requirements are the interesting case, because the same *kind* of requirement can land on either side depending on reach. A response-time budget every request in the product must meet is a property of all work and belongs in the standard. A response-time budget that exists only because one catalogue search screen must stay usable with 31 filters applied belongs with that item. Reach decides, not category. The test also explains the asymmetry in cost. A new acceptance criterion is cheap: it applies to one item and disappears with it. A new line in the standard is expensive, because the team is promising it for everything from now on, including on the worst week of the year. That is why criteria are written fresh constantly while the standard changes slowly and deliberately. ## Three ways teams collapse the two, and what each costs 1. **Quality activity written per item.** *Add tests* appears as a criterion on some items and not others. Testing becomes a negotiable feature of an item rather than a property of all work — and the items where it was left out are precisely the ones written under time pressure, which are the ones that most needed it. Putting the activity in the standard removes the per-item negotiation entirely. 2. **Item behaviour written into the standard.** The standard grows lines that only make sense for one part of the product, becomes long and mostly inapplicable, and people learn to skim it. A skimmed standard is a decorative one. 3. **Acceptance criteria treated as the whole bar.** A demonstration passes, the Product Owner accepts, and nobody asks whether the change was reviewed, is observable, or is deployed anywhere but one machine. This is the shape hidden work takes most often, because everyone involved genuinely believes the item is complete. A fourth failure is subtler: **rewriting the standard to match what was actually finished**. It keeps the finished count intact and destroys the meaning of the word for every item that came before. ## Answering it in an interview State the two questions in one breath — the right thing versus built right — then make clear that both gates apply independently, then offer the placement test. If the interviewer pushes further, name the asymmetry: criteria are *specified* per item, the standard is *practised* across all of them, which is why one is cheap to add and the other is a commitment. Candidates who can put a borderline requirement on the correct side, and say why reach decides it, are demonstrably working from the distinction rather than reciting it.

  • Where does a response-time budget belong — the team standard or the item?
    It depends on reach. A budget every request in the product must meet is a property of all work and belongs in the Definition of Done. A budget that exists only because one screen must stay usable under an unusual load belongs with that item. The same requirement lands on either side depending on how widely it applies.
  • An item passes its acceptance criteria but was never reviewed and the agreed checks fail. Is it finished?
    No. The two gates are independent and both apply. Acceptance criteria confirm the behaviour is what was asked for; the Definition of Done confirms the work is in a releasable condition. An item that clears only the behaviour gate is exactly the shape hidden work usually takes, because everyone involved believes it is complete.
  • Why is a new line in the standard more expensive than a new acceptance criterion?
    A criterion applies to one item and retires with it, so its cost is bounded and local. A line in the standard is a promise for every item from now on, including in the worst week of the year. That asymmetry is why standards change slowly and deliberately while criteria are written fresh each time.

Acceptance criteria are the order slip for one dish; the Definition of Done is the kitchen standard every dish meets before it leaves the pass.

saying these in an interview costs you the question

  • Says acceptance criteria and the Definition of Done are the same thing
  • Writes item-specific behaviour into the team-wide standard
  • Believes passing acceptance criteria alone makes an item releasable
  • Puts quality activity in acceptance criteria on some items only
  • Rewrites the standard per item to match what was actually finished