agile testing: learning journeys for the whole team - janet g @ cmbagileconf 2016
TRANSCRIPT
Learning Journeys for the Whole Team
Agile Colombo, Sri Lanka 2016
Janet Gregory
@janetgregoryca
www.janetgregory.ca
Copyright 2016 Janet Gregory, DragonFire Inc.
I’ll share my experiences
to show that testing in agile projects
can span global teams
2
And hopefully
the lessons I learned can help you.
Co-located teams: Agile’s sweet spot
3
4
YIELD
Use tests and examples for shared understanding and common language
7
9
10
Think in Levels of Detail
Feature(with
examples) UserStory
High-Level
AT
Fix Defects
Code, test & automate story
ATDDAcceptance Test Driven Development
AcceptStory
Explore Examples
11
We can use tests and examples for shared understanding and common language
For example, create a function to add 2 numbers
-2 + 1 = -1
2.0 + 1.050 = 3.050
2.0 + 1 = 3.0
2 + 1 = 3
13
Tests provide fast feedback
Examples and tests show desired behaviour
Make the tests the specifications.
Make the tests the reality.
Use tests to remove misunderstandings.
• an activity; not a phase• interactive and starts from the beginning• more than testing code
15
Potentially shippable product
Potentially shippable product
16
The Agile Testing Quadrants (adapted from Brian Marick)
Testing Activities
Large organizations
And have fun!
Work together to a common goal, but make sure you enjoy the journey.
• Whole team approach
• Use your diverse skills
• Respect culture: yours and others
• Avoid silos – geographical or functional
19
And always, strive for quality!
photoshd.wordpress.com/2008/04/24/13/
21
Final note:
I’m not advocating distributed teams or
out-sourcing but if you are faced with those
problems, I hope you can use some of these
ideas to help manage your agile testing.
and
Agile ≠ NO DOCUMENTATION
Know your own context!
Agile Testing: A Practical Guide for Testers and Agile Teams
More Agile Testing: Learning Journeys for the Whole Team
By Janet Gregory and Lisa Crispin
www.agiletester.ca
www.agiletester.com
Contact info
www.janetgregory.caEmail: [email protected]: janetgregoryca
22
• Adzic, Gojko, Specification by Example: How Successful Teams Deliver the Right Software, Manning, 2011
• Gärtner, Markus, ATDD By Example: A Practical Guide to Acceptance Test-Driven Development, Addison-Wesley, 2012a
• Karten, Naomi, "Are You Listening?", http://www.agileconnection.com/article/are-you-listening, Agile Connection, 2009
• Keogh, Liz, http://lunivore.com - look for her posts on BDD, Real Options
• Levison, Mark, "The Beginner's Mind - An Approach to Listening", http://www.infoq.com/news/2008/08/beginners_mind, InfoQ, 2008
• Wynne, Matt and Aslak Hellesoy, The Cucumber Book: Behavior-Driven Development for Testers and Developers, Pragmatic Programmers, 2012
23