Upload
lisacrispin
View
1.281
Download
2
Embed Size (px)
Citation preview
Introduc)on to Agile Tes)ng
Agile 2015 Conference Washington, D.C. August 2015
Lisa Crispin Janet Gregory @lisacrispin @janetgregoryca
Everyone Owns Quality!
A li;le about us
Janet First agile team: 2000
Currently coaching, training TwiFer: janetgregoryca
Email: [email protected]
Agile TesHng; 2009 More Agile TesHng: Oct 2014
Agile TesHng CollecHon: July 2015
www.agiletester.com www.agiletester.ca
Lisa First agile team – 2000
Currently tester on Pivotal Tracker team TwiFer: lisacrispin
Email: [email protected]
Learning inten)ons
• Whole team responsibility for quality and tesHng
• The value of testers and tesHng • How to work together to build the right thing right • FiVng tesHng into agile iteraHons
• Guiding development with examples and tests
Whole Team Responsibility
Tes)ng on agile projects is ……..
more than “just” tesHng code It’s an ac#vity -‐ not a phase
5
Blurred Roles – Whole Team
Business Analyst
Business Anaylst
Designer Designer
?????
?????
Importance of CollaboraHon (and trust)
Collabora)on can help to …..
• Get the customers get what they want • Prevent defects
Feature (with
examples) User Story
High-‐Level AT
Fix Defects
Code, test & automate story
ATDD Acceptance Test Driven Development
Accept Story Explore
Examples
SHcker by Brian Marick
1. Find a pair 2. One person faces away from the screen
3. The other person will have 2 -‐3 minutes to describe the picture I show next
4. When I say stop, turn around and discuss any differences in what was described.
A Simple Exercise
How Testers Can Add Value
Testers …. • are quesHon askers • can help plan what tesHng needs to be done • think tesHng … all the Hme • keep an eye on the big picture
Plan for tes)ng at different levels
Tes)ng Skills
• Good tesHng pracHces, applied differently • Start with tests • Test throughout coding/delivery • Use models to help plan
Usability
Test Design FuncHonal
TesHng
Performance
Exploratory TesHng
Agile Tes)ng Quadrants
Copyright 2014, Janet Gregory and Lisa Crispin
Workflows, Journeys
Thinking Skills
Examples of thinking skills
• CollaboraHng
• CommunicaHng
• EliciHng examples
• Asking quesHons
• GeVng/delivering info: “Show me”
Technical Awareness for
Testers
MulH-‐ discipline skills
Expert Discipline skills
T-‐Shaped Skills
What skills do you think help with tes)ng? _______________________________________________ | | | | |________________ ________________| | | | | | | | | | | | | | | | | | | | | | | | ___________ |
For successful tes)ng:
• Team selects tesHng framework together • and the DSL (domain specific language)
• Shared common language helps shared understanding
• Testers can read code, pair w/ programmers to understand it
• Programmers write prod, test code • Everyone learns domain
The Test Automa)on Volcano Fable Ma; Barcomb
Test AutomaHon Pyramid
Automa)on is a team ac)vity
28
All automaHon done here
AutomaHon here AutomaHon
here
AutomaHon here
AutomaHon here AutomaHon
here AutomaHon
here
AutomaHon here
AutomaHon here AutomaHon
here
AutomaHon here
AutomaHon here AutomaHon here
AutomaHon here
AutomaHon here
AutomaHon here
Bring your excellent tes)ng skills
• Use them conHnually, incrementally, iteraHvely • Make tesHng a team problem, including
automaHon • Elicit executable examples from customers/
stakeholders • Test small chunks, but keep the big picture in
mind
Let’s wrap-‐up with some good pracHces
The 7 Success Factors for Agile Tes)ng
1. Use the whole team approach 2. Adopt an agile tesHng mindset 3. Automate your regression tesHng 4. Provide and obtain feedback 5. Build a foundaHon of core agile pracHces 6. Collaborate with customers 7. Look at the big picture
From Agile TesHng: A PracHcal Guide for Testers and Agile Teams
Confidence Building Prac)ces
1. Use real examples 2. Perform exploratory tesHng 3. Test your features (and the system) 4. Learn conHnually 5. SensiHvity to your context 6. Keep it real
32 From More Agile TesHng: Learning Journeys for the Whole Team
There’s not one right way
Find ways that you can add value to your team
And then …. keep learning
More Learning • Adzic, Gojko, Specifica;on by Example: How Successful Teams Deliver the Right SoJware, Manning, 2011
• Gärtner, Markus, ATDD By Example: A Prac;cal Guide to Acceptance Test-‐Driven Development, Addison-‐Wesley, 2012a
• Hendrickson, Elisabeth, Explore It! Reduce Risk and Increase Confidence with Exploratory Tes;ng, PragmaHc Programmer, 2013 • Keogh, Liz, hFp://lunivore.com -‐ look for her posts on BDD, Real OpHons • Knight, Adam P., "T-‐shaped Tester, Square Shaped Team", hFp://thesocialtester.co.uk/t-‐shaped-‐tester-‐square-‐shaped-‐team/, 2013 • Lambert, Rob, "T-‐shaped Testers and Their Role In a Team", hFp://thesocialtester.co.uk/t-‐shaped-‐testers-‐and-‐their-‐role-‐in-‐a-‐team/ , 2012 • McMillan, Darren, "Mind Mapping 101", for TesHng: hFp://www.beFertesHng.co.uk/content/?p=956, 2011 • PaFon, Jeff, User Story Mapping, 2014 • Rasmussen, Jonathan, The Agile Samurai: How Agile Masters Deliver Great SoJware, PragmaHc Bookshelf, 2010.
Save 45% - Today Only informit.com/deals
Two complete books together for just $34.64
Share on Twitter! ○ #agile2015 ○ @lisacrispin, @janetgregoryca ○ @informit
Offer ends 12:00 AM, PST Print Books – Available at the Agile Conference Bookstore
DRM-Free eBooks are provided in EPUB, PDF, and MOBI formats – Good for all eReaders and desktop
Agile Tes;ng: A Prac;cal Guide for Testers and Agile Teams
More Agile Tes;ng: Learning Journeys for the Whole Team
The Agile Tes;ng Collec;on: an ebook
By Janet Gregory and Lisa Crispin www.agiletester.ca www.agiletester.com Contact info www.janetgregory.ca Email: [email protected] TwiFer: janetgregoryca
36
lisacrispin.com Email: [email protected] TwiFer: lisacrispin