Plan the sprint
Last updated
You're the team now, all of it. Before building, plan what this sprint will deliver and how you'll know each piece is finished. In this lesson you'll break the stories into tasks, estimate them, fit them into the time you actually have, and write the definition of done every story must meet before it counts.
By the end of this lesson you can
- Break stories into tasks small enough to estimate
- Plan a sprint that fits the time available, with a goal
- Write a definition of done that a story can be checked against
From stories to tasks
A story says what a user gets; tasks say what you'll do to deliver it. Small tasks are easier to estimate, and show progress. The reference's tasks for “Reminder the day before”:
| Task | Estimate |
|---|---|
Reminder and ReminderBook: add a reminder, find the ones due, with unit tests | 1.5–2.5 h |
send_due(): send each due reminder through the gateway, with a test using FakeGateway | 0.5–1 h |
| Run it from the nightly job, on the days the jobs run | 0.5 h |
| Acceptance tests for the story’s criteria | 0.5–1 h |
Estimates are ranges (lesson 3.9): the honest answer to “how long?” is “probably about this, possibly more.” Working alone, hours are fine; a team would use points, which compare sizes rather than promise times.
How much time do you have?
Look at your week and decide how many hours you can really give lessons C.5 to C.7. Then plan the sprint: a goal, and the stories and tasks that fit.
- About people, not code (not yet)
- One sentence (done)
- Tasks for at least two stories (not yet)
- Estimates as ranges (not yet)
- Tests are tasks too (not yet)
The definition of done
“Done” should mean the same thing for every story. Write the checklist, and save it as docs/definition-of-done.md. You'll tick it for each story in C.5 and C.6.
- At least five items (not yet)
- Tests written and passing (not yet)
- Reviewed, through a pull request or a read-through (not yet)
- Acceptance criteria checked (not yet)
- The checks pass: lint and tests (not yet)
- Docs or changelog updated (not yet)
Ready to start
Move the sprint's stories from Backlog to Ready on your board, in order. On GitHub, you can also add a milestone called 1.2.0 and put the issues in it, to see the release's progress at a glance.
Commit the sprint plan and the definition of done. The plan is a forecast, not a contract: in C.9's retrospective you'll compare it with what happened.
Check your plan
Sources
Every claim on this page comes from these sources: the standard, the founding text of a method, a study, or the official record of a project, from the body that publishes it. Industry reports are labelled as such.
- The Scrum Guide (2020): Sprint Planning, the Sprint Goal and the Definition of Done
- Mike Cohn: What Are Story Points?: estimating size rather than hours
- GitHub Docs: About Projects: moving issues across the board