This document discusses strategies for early testing in agile development. It recommends exploring assumptions, clarifying expectations, and identifying gaps early in development to help build the right product. Techniques described include asking testing questions early, conversations, ATDD/BDD, story mapping, example mapping, and considering seven product dimensions. Story mapping and example mapping are practiced in hands-on sessions to illustrate how they work.
2. @testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Preview
Early testing = faster product iterations
Favorite strategies
Story Mapping practice session
Example Mapping practice session
3. @testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Why test early?
Explore assumptions
Clarify expectations
Identify gaps in flow
Discover the ‘right thing’ to build
4. @testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Ask testing questions early
Does 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.
5. @testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Favorite strategies
Conversations :)
ATDD/BDD/SpecByExample
Story Mapping
Example Mapping
7 Product Dimensions
7. @testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
ATDD/BDD/SpecByExample
Goal 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.
Feature
Given-When-Then scenarios
(state-action-result)
‘Executable specification’ via Cucumber
8. @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.
9. @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)
10. @testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Super Bowl viewing party
Stock
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
...
11. @testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Story Mapping hands-on
Roll the die! Your goal will be:
1 - Planning a Super Bowl viewing party
2 - Getting to work on time
3 - Preparing to do your taxes
4 - Packing for a trip
5 - Scheduling a meeting for a distributed team
6 - Training for a marathon
12. @testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
GOAL
ActivityActivity 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
13. @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?
14. @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
15. @testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Example
What 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?
16. @testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Example mapping hands-on
As 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.
17. @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.
18. @testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
Example mapping de-brief
What did this exercise show you?
What did you learn?
Are rules or examples better?
Why or why not?
19. @testacious @lisacrispinCopyright 2016 Lisa Crispin, JoEllen Carter
7 product dimensions
http://www.discovertodeliver.com/visual-language.php
Ellen Gottesdiener and Mary Gorman
20. @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
21. @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://bi
ly/1Qlnz0y
•Wynne, Matt, "Introducing Example Mapping", http://bit.ly/1iw19w4
22. @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