Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 4 of 5

A definition of done that includes testing

11 min

Listen to this lesson

0:00 / 6:40

The definition of done (DoD) is the shared standard every story must meet before anyone may call it finished. In SAP Activate it covers expectations for documentation, testing, user enablement and similar items. SAP's content is clear that the definition must be agreed early, be clear and exact, and that each team's version will reflect its own work. In scaled Scrum, teams also share a common core so that Done means the same thing across the product.

Three different things

ConceptApplies toQuestion it answersOwned by
Definition of readyEvery backlog item before a sprintIs this clear enough to build and test?Team and product owner
Acceptance criteriaOne specific storyWhat must be true for this story to be accepted?Product owner with the business
Definition of doneEvery story, every timeHas the team finished all the work our quality standard requires?The team, within the program's shared core
Ready, acceptance criteria and done are related but not interchangeable.
The Sign-Off Table · thesignofftable.com/academy/sap-pmo-202

SAP's agile content also separates Done from Shippable. A story can be Done in a sprint and still wait for integration testing, data migration or cutover before it can go to production. Keeping the two apart stops teams from claiming that sprint completion means release readiness.

Someone has to own the definition itself. At Contoso, Priya and the Scrum masters maintain the shared core and review it at the end of every third sprint, using what retrospectives surfaced. Changes apply from the next sprint forward; stories already Done are not reopened against a stricter rule, but any gap is noted so SIT can cover it. The current version is stored in Cloud ALM next to the test strategy, so nobody has to ask which list is in force.

Contoso's definition of done

  1. Configuration or code complete in the development system and peer reviewed.
  2. Unit tests passed; string tests passed where the story touches more than one step of the process.
  3. Story test cases exist in SAP Cloud ALM, are linked to the story and its solution process, and have a passed run with evidence.
  4. Acceptance criteria demonstrated to and accepted by the product owner.
  5. Required authorizations included in the business role design; tested with a test user, not a superuser.
  6. Configuration or design documentation updated and linked in Cloud ALM.
  7. Transports assigned to the feature for the story; no open high-severity defects on the story.
  8. Training or work instruction impacts noted for Solution Adoption.
Story typeExtra done items on top of the shared core
ConfigurationConfiguration documented against the solution process; values match the agreed questionnaire
Developer extensionABAP Test Cockpit check clean for the transport; ABAP unit tests passed; clean core level recorded
IntegrationMapping tested with a test message end to end into the partner's test system, with the message ID kept as evidence
Data migrationLoad tested with a sample file; record counts reconciled; rejected records explained
AuthorizationPositive and negative tests with role-based test users; Nadia's team has reviewed the role

Contoso's shared definition of done plus the extra items each kind of story adds.

Contoso's definition of done in motion: build, transport, linked test case, evidenced run with a role-based test user, then product owner acceptance.
The Sign-Off Table · thesignofftable.com/academy/sap-pmo-202
  1. OpenStory Ready and planned into the sprint
  2. In progressBuilt with sub-tasks; unit tests running
  3. In reviewStory test cases executed; product owner walkthrough against criteria
  4. DoneEvery DoD item met and evidenced
  5. ShippableLater: integrated, regression-tested and cleared for release
A Contoso user story's path. SAP Cloud ALM's best practice guide shows user stories moving through open, in progress or in review, and done.
The Sign-Off Table · thesignofftable.com/academy/sap-pmo-202

Why testing belongs in the DoD

SAP's agile Activate content puts testing inside the sprint because defects cost more the longer they wait, and it says a story moves to Done only after its test results are checked. If testing is not in the definition, it becomes optional under pressure, and the first time anyone runs the story end to end is SIT. Putting test cases and evidence in Cloud ALM into the DoD also builds the regression suite one story at a time.

Putting testing in the definition of done moves defect discovery into the sprint and builds the regression suite as a by-product.
The Sign-Off Table · thesignofftable.com/academy/sap-pmo-202
  1. Are the story's test cases linked to the story and its process in Cloud ALM?Yes → next · No → not Done
  2. Is there a passed run with evidence, executed with a business role test user?Yes → next · No → not Done
  3. Has the product owner accepted against the acceptance criteria?Yes → next · No → not Done
  4. Any open high-severity defects on the story?No → Done · Yes → not Done; carry over or split
Contoso's testing questions at the end of each story.
The Sign-Off Table · thesignofftable.com/academy/sap-pmo-202

What would you do?

At the end of sprint 4, Team Source to Pay reports eight stories Done. Priya finds that three have no test runs in Cloud ALM; the consultant says he "tested them in the system". What should happen?

Key points
  • The definition of done is a shared quality standard for every story; acceptance criteria are story-specific.
  • Done is not Shippable: integration testing and release readiness come later.
  • Put testing in the DoD: linked test cases, a passed run with evidence, role-based test users, product owner acceptance.
  • Stories without evidence are not Done; report them honestly and fix the cause.

Check your understanding · not graded

Lesson check

  1. 1. What does a definition of done apply to?

  2. 2. According to SAP's agile Activate content, when does a story move to Done?

  3. 3. What is the difference between Done and Shippable?

  4. 4. Why test with a business role test user rather than a superuser?