stories, defects and tasks
TRANSCRIPT
![Page 1: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/1.jpg)
Stories, Defects, Tasks and Tests
![Page 2: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/2.jpg)
3 types of work items
![Page 3: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/3.jpg)
User Story
![Page 4: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/4.jpg)
A new piece of functionality
![Page 5: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/5.jpg)
Must always add value to the
product
![Page 6: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/6.jpg)
3 C’sCa
rdConversation
Confirmatio
n
Written reminder about the feature Details about the feature that we get by talking to users
How to we know that we’ve built the right thing?
In order to get some cashas a bank customerI want to withdraw money from an ATM
“Gherkin” format List formatGiven a jpg or png imageWhen I upload itThen it should be savedAnd it should be resized
Accepts JPG imagesAccepts PNG images
Resizes to decent size
Be careful not to describe the “How”
![Page 7: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/7.jpg)
INVESTIndependent
The user story should be self-contained, in a way that there is no inherent dependency on another user story.Negotiable
User stories, up until they are part of an iteration, can always be changed and rewrittenValuable
A user story must deliver value to the end userEstimable
You must always be able to estimate the size of a user storySmall
User stories should not be so big as to become impossible to plan with a certain level of certaintyTestable
The user story must provide the necessary information to make test development possible
![Page 8: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/8.jpg)
Defect
![Page 9: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/9.jpg)
A previously “done”
feature is not working as expected
![Page 10: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/10.jpg)
Needs enough detail that somebody who knows nothing about
the product can reproduce the issue
![Page 11: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/11.jpg)
Detailed steps to reproduce
What did you expect to happen?
What actually happened?
Screenshots (Before and after)
![Page 12: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/12.jpg)
Task
![Page 13: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/13.jpg)
Defines the solution to the
problem
![Page 14: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/14.jpg)
Defects and Stories have
tasksTasks must belong to
something
![Page 15: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/15.jpg)
Defects/bugs for open stories are
tasks
![Page 16: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/16.jpg)
SMARTSpecific
What? Why? Who? Where? Which?Measurable
How much? How many? How long?
AssignableMust be completable
by a single personRelevantWorthwhile? Right time?
Time-boundWhen? Can it be done in
the time available?
![Page 17: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/17.jpg)
Acceptance Tests
![Page 18: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/18.jpg)
Acceptance Criteria describe what needs to be
built“Build the right thing”Acceptance Tests describe how it
was built“Build the thing right”
![Page 19: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/19.jpg)
Two forms of Acceptance
Criteria“Gherkin” formatMore descriptive, but easier to incorrectly specify implementation details
List formatEasier to write, and easier
to see gaps
Given a jpg or png imageWhen I upload itThen it should be savedAnd it should be resized
Accepts JPG imagesAccepts PNG images
Resizes to decent size
Should never contain
implementation details!
![Page 20: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/20.jpg)
Acceptance Tests usually only use the “Gherkin”
format
![Page 21: Stories, defects and tasks](https://reader031.vdocuments.site/reader031/viewer/2022030304/58794cb61a28abb1418b5199/html5/thumbnails/21.jpg)
Example!Acceptance criteria
Acceptance test (Scenario)Given a baby animal younger
than its recommended selling ageWhen we try to sell itThen we should be told it’s too young.
Given a rabbit called Fluffy who is 1 ½ months old
When we try to sell FluffyThen we should be told Fluffy is
too young.We should be prevented from selling animals younger than the recommended age
Given a puppy called Fang who is 1 month old
When we try to sell FangThen we should be told Fang is
too young.