Post on 16-Apr-2017
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Agile Testing to Build the Right Thing
Lisa and JoEllen
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Preview
Early testing = faster product iterations
Favorite strategies
Story Mapping practice session
Example Mapping practice session
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Why test early?
Explore assumptions
Clarify expectations
Identify gaps in flow
Discover the ‘right thing’ to build
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Ask testing questions earlyDoes this thing do what I want it to do?
Is the thing I want it to do the right thing to do?
What are the unexpected things that can happen?
What are the undesirable things that can happen?
What are the happy accidents?
Testing is THINKING.
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Favorite strategies
Conversations :)
ATDD/BDD/SpecByExample
Story Mapping
Example Mapping
7 Product Dimensions
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Invite yourself to a … Conversation.A story is an invitation to a conversation.
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
ATDD/BDD/SpecByExampleGoal of common understanding
As a Super Bowl viewing party planner,I want to invite only Broncos fans,So that we can all cheer for the Broncos.
Given that all of my friends are Broncos fans,When I invite guests to a Super Bowl viewing party,Then I invite all of my friends.
FeatureGiven-When-Then scenarios
(state-action-result)
‘Executable specification’ via Cucumber
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Story Mapping Jeff Patton, User Story Mapping
Story - tells a “lower case s” story about someone doing something, and why
Story Map - tells the bigger story of a product or feature
We are storytellers.
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Story Mapping Jeff Patton, User Story Mapping
Organizes stories to show the big picture
Goal - The thing you want to accomplish
Activities (biggest pieces)
Tasks (or steps)
Sub-tasks (smallest bits)
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Super Bowl viewing partyStock the bar
Invite guests
Order food
Who should I invite?
Find cool invitations!
Deliver invites by Friday!
List of broncos fans
Add as contacts
Pizza Wings ... Beer
...
...
Basic invite
Order custom
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Light.
Craft.
...
...
Release
Release
...
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Story Mapping hands-onRoll the die! Your goal will be:
1 - Planning a Super Bowl viewing party2 - Getting to work on time3 - Preparing to do your taxes4 - Packing for a trip5 - Scheduling a meeting for a distributed team 6 - Training for a marathon
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
GOALActivityActivity Activity
Task Task Task
Story
Story
Task Task ... ...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Release
Release
...
W o r k f l o w
P r i o r i t y
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Story mapping de-brief
What was easy? Hard?
What would you approach differently next time?
Would story mapping work for your team?
How can your team incorporate story mapping?
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Example Mapping
Question
Rule
Example
User Story
The user story under discussion, new stories discovered during discussion
Questions that cannot be answered by anyone in the session
Known rules or acceptance criteria
Examples that illustrate the rules
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
ExampleWhat if there are more than 12 NYC attendees?
Meetings with more than 2 NYC attendees need a meeting room.
A meeting with less than 3 people can be in the Green Sauce meeting room.
Schedule a team meeting
Remote attendees must have a video meeting link.
Meetings are within normal work hours for all attendees.
A meeting with 2 NYC and one Ukraine people has a zoom meeting number.
NYC and Ukraine team members meet at 9 am EST.
NYC and West Coast team members meet at 3 pm EST.
A meeting with 4 people must be in the Bacon Cheeseburger meeting room.
What if we have more than 5 concurrent distributed meetings?
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Example mapping hands-onAs a host of a Super Bowl party, I want cheap, fast food delivery, so that my guests can eat hot food and I can save money.
Pick a partner table group.Take 3 blue cards. These are the business rules for our story.Write 3 (and only 3) examples on the green cards (1 per card) to illustrate those rules.
You have 2 minutes.
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Example mapping hands-on, cont.Partner table --Guess the rules based on the examples you received (green cards) –
write them on blue cards, and pass them back. You have 2 minutes.
Table 1 -Label each rule as yes or no - yes if it matches, no if it doesn’t.
Let’s stop and reflect.
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Example mapping de-briefWhat did this exercise show you?
What did you learn?
Are rules or examples better?
Why or why not?
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
7 product dimensionshttp://www.discovertodeliver.com/visual-language.phpEllen Gottesdiener and Mary Gorman
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Conversations for shared understanding
Get the right people together
Explore, identify risks
Experiment, retrospect
Engage the whole team
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
That went fast! Want to know more?
•Adzic, Gojko, http://www.impactmapping.org/, and Specification by Example 2011
•Gärtner, Markus, ATDD By Example, 2012
•Gottesdiener, Ellen and Mary Gorman, Discover to Deliver, 2012
•Hendrickson, Elisabeth, Explore It!, 2013
•Larsen, Michael, “Unchartered Waters”, http://bit.ly/1NMYyww
•Patton, Jeff, User Story Mapping, 2014
•Simbhoedatpanday, Kishen, “Example Mapping–Steering the Conversation”, http://bit.ly/1Qlnz0y
•Wynne, Matt, "Introducing Example Mapping", http://bit.ly/1iw19w4
@testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Buy 1, save 35%, buy 2, save 40% on Agile Testing
and More Agile Testing: informit.com/swtesting