Defintion of done
This page defines the minimum criteria that must be met for a User Story to be considered done.
The Definition of Done is a shared agreement within the team and helps ensure consistent quality, predictability, and transparency.
It applies to all User Stories unless explicitly stated otherwise.
Core principles
Section titled “Core principles”- A User Story is either done or not done
- “Almost done” is not considered done
- The Definition of Done represents a minimum level, not a best-case scenario
- Release to production is not required for a story to be considered done
Definition of Done (User Stories)
Section titled “Definition of Done (User Stories)”A User Story is considered Done when all of the following criteria are met:
Code and collaboration
Section titled “Code and collaboration”- The implementation is complete
- Code changes are merged into the main branch
- Changes have been reviewed through a pull request
- At least one reviewer has approved the pull request
Build and validation
Section titled “Build and validation”- All required build and validation checks triggered by the pull request have passed
- There are no failing checks blocking the merge
Deployment to test
Section titled “Deployment to test”- The change is deployed to the test environment
- The deployed change reflects the intended behaviour of the User Story
Testing
Section titled “Testing”- The functionality has been manually verified in the test environment
- For business-critical frontend functionality, relevant manual tests have been performed
Documentation
Section titled “Documentation”- Relevant documentation has been updated when the change affects behaviour, usage, or understanding
- Documentation updates are included as part of the same work item
General quality
Section titled “General quality”- The solution meets the acceptance criteria of the User Story
- No known critical defects remain
What Definition of Done does not include
Section titled “What Definition of Done does not include”The Definition of Done does not require:
- Deployment to production
- Automated tests
- Monitoring or logging verification
These activities may still be required depending on the type of change, but they are handled as part of release or operational processes.
Notes on release to production
Section titled “Notes on release to production”Deployment to production is a separate concern from Definition of Done.
A User Story can be considered done even if it has not yet been released to production, as long as it is ready to be released.
Release timing, coordination, and execution are handled through the release and operations process.