How to write a Definition of Done in English so the client does not question every line in sprint planning
The spreadsheet is open. On the left is the Ukrainian column with the lines “код гарний” and “все протестовано”, on the right is what an online translator returned within a minute: “Code is good” and “Everything is tested”. The team lead messaged you this evening, and you opened the file, and pasted the column into the translator, and copied the answer back, and now you are looking at it and you know that in the morning the client will not understand a thing.
The machine made no mistake. It faithfully rendered what the Ukrainian said, and the Ukrainian said “good”, a word nobody on the team could check, let alone the client. You had lost before you pressed the button. The client will not ask about Scrum but about each line, and there will turn out to be fewer lines than in your spreadsheet.
How is a Definition of Done item different from acceptance criteria?
A Definition of Done item, a condition every piece of work must meet to count as done, applies to every task in the product and does not change from task to task. Acceptance criteria describe what one particular task must do, and they live only in that task. Only the first kind goes into the spreadsheet you are rewriting.
The 2020 Scrum Guide calls the Definition of Done a formal description of the state of the Increment, that is, the finished work, when it meets the quality measures required for the product. A state does not tell you how the team worked or what it thinks of its code; it shows what can be seen in the finished work when you open the repository and the pipeline.
In English, a state is written with a participle
In the line “Code is good” it was the adjective that let you down. “Good” says that someone is pleased and says nothing about what was done to the code. The client will open the spreadsheet at planning, reach the first line, stop at the word “good” and ask: “Good according to whom?” The spreadsheet has no answer.
In an English checklist a state is named with the past participle, because it shows an action that has already been carried out: reviewed, merged, deployed. This is the passive, and here it is the right choice. The line says what happened to the code, and the person who did it can be added with “by” when needed.
- “Code reviewed by a second developer.”
- “Changes merged into the main branch.”
- “Build deployed to the staging environment.”
In a list item the auxiliary verb is left out, so “Code reviewed” reads as “The code has been reviewed”. If you start with “Code reviewed”, carry on with “Changes merged”, without “is” or “has been”. Tests pass by themselves, so lines about tests use the active voice: “All unit tests pass”.
How many conditions can go in one line?
One. If a line contains “and”, there are at least two conditions in it, and someone will say yes to the first and keep quiet about the second. Split such a line into separate lines so that each has a single answer.
Take “Code is reviewed, tested and documented”. The developer is responsible for the code review, the tester for the tests, the analyst for the documentation, and when two of them have done their part and the third has not, nobody can honestly answer that line.
According to the Scrum Guide, an Increment is born the moment a backlog item meets the Definition of Done. The last “yes” in your spreadsheet is that moment.
“Everything is tested” promises nothing
The client could not check the line “Everything is tested” even if they spent the whole day on it. “Everything” has no limits, and “tested” says nothing about who tested, on what, and how it ended. Yet this is the line the team uses to decide whether the work can be shown. According to the Scrum Guide, a backlog item that does not meet the Definition of Done cannot be released or even presented at the Sprint Review, and it returns to the Product Backlog.
The numbers in these lines are only examples; take your own from the project.
- Before: “Code is good”. After: “Code reviewed by a second developer” and “No new linter warnings”.
- Before: “Everything is tested”. After: “All automated tests pass in the CI pipeline” and “No open critical defects”.
- Before: “Tests cover the code well”. After: “Unit test coverage of new code is at least 80%”.
- Before: “Release is properly documented”. After: “Changes summarised in the release notes”.
Reread your draft and find the words “good”, “properly”, “fully” and “should”. The first three ask for a judgement, and “should” turns a condition into a wish.
Here is a mistake typical of someone who thinks in Ukrainian. “Документація актуальна” (the documentation is current) tends to come out as “Documentation is actual”, which in English says the documentation is real. “Actual” means “real, factual”, and it is one of the translator’s false friends in IT. The correct version is “Documentation is up to date” or “Documentation updated”. The client has seen real documentation before; what they want to know is whether it is current.
The advice “include everything that matters for quality” makes the list longer and worse
A team wrote a user-friendly interface into its spreadsheet, and clean architecture, and care for the user, and by the end of the sprint nobody had read the list all the way through. It had followed the advice “Include everything that matters for quality in the Definition of Done”. The advice lets you down where what matters is confused with what can be checked. A user-friendly interface matters, but ask two people on the team whether it is already there, and you will hear two different answers.
The Scrum Guide requires several Scrum Teams working on one product to define one Definition of Done together and all to comply with it. And if the Definition of Done is an organisational standard, teams follow it as a minimum. A line you write in tonight could be binding tomorrow on people you have never met.
A line stays if it can be answered “yes” or “no” and you can point to something concrete: a code review record, the pipeline, the release notes page. Cross out the rest, and the Definition of Done will come out shorter than it looked this evening.
Is a Definition of Ready written the same way?
Yes. The same participles and adjectives of state, one condition per line, a “yes” or “no” answer. Only the timing differs, because the Definition of Done is checked when the work is finished, and the Definition of Ready before a task is taken into the sprint.
If you put a Definition of Ready alongside it, the client may ask where the Scrum Guide mentions it. Nowhere: the guide does not contain it. It only says that items the team can make Done within one sprint are deemed ready for selection at Sprint Planning. So your Definition of Ready is an agreement within the team, and the one condition from the guide is worth putting on the first line.
- “Can be Done by the team within one sprint.”
- “Estimated by the team.”
- “Dependencies identified.”
- “Test data available.”
The last line rests on the adjective “available”, and it names a state too. Writing lines like these for the backlog, tickets and reviews is practised on the English course for developers and testers, where the exercises come from your own project.
In the morning there will be fewer lines in the spreadsheet
The spreadsheet still says “Code is good”, and you can see for yourself that the client will not accept it. Now go back to the Ukrainian column, and work down it from top to bottom, and for each line ask yourself what you could point to, and write that thing down as one line with a participle. In the morning the team lead will open the file on the shared screen, the client will read the first line, “Code reviewed by a second developer”, and will not ask a thing.