seven key factors for agile testing success · adopt an agile testing mindset 3. automate your...

26
1 Seven Key Factors for Agile Testing Success XPSoCal 2009 Lisa Crispin With Material from Janet Gregory

Upload: others

Post on 06-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

1

Seven Key Factors for Agile Testing Success

XPSoCal 2009

Lisa Crispin With Material from Janet Gregory

Page 2: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

2

Introduction •  Tester on agile teams since 2000 •  My team:

•  Has delighted customers •  Delivers value to production frequently,

production-ready every iteration •  Drives development with tests,

examples •  100% regression test automation

Page 3: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

3

Your Agile Experience

How about you?   How many on agile teams?   How many in transition?   How many planning a transition?   How many on more traditional teams?

  Agile testing works on those, too.   Managers, testers, developers...?

Page 4: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

4

Takeaways

  Keys to agile testing success   Overcoming barriers   Practical steps you can take today

Page 5: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

5

Key Success Factors

Page 6: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

6

The Whole Team Approach

  Team committed to testing, quality   Daily collaboration   Testers get support, training   Anyone can do any task   Testers transfer testing knowledge   Get the right people

Page 7: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

7

Who’s On Your Team?   Separate test team?

  How could you integrate more with developers?

  How could you collaborate more with customers?

  Does your team have all the roles, skills needed?

Page 8: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

8

Agile Testing Mindset

  No Quality Police   Continually improve   Don’t sit and wait – be proactive   Coding and testing are part of one

process   Apply agile principles and values

Page 9: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

9

What Do You Do To Improve?

  Professional development   Team, process improvement   How can you be more proactive?

Page 10: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

10

Automate Regression Testing

•  Drive development with tests •  Design for testability •  Team effort •  Team chooses tools •  Start simple

Page 11: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

11

Regression Test Automation Issues?   Make it a team problem to solve   Get over “hump of pain”   Unit tests have best ROI   GUI smoke tests option for legacy code

  But choose tool carefully

Time

Effo

rt

Page 12: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

12

Test Automation Pyramid

Page 13: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

13

Agile Testing Quadrants

Page 14: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

14

Provide and Obtain Feedback   Core agile value   Team uses feedback to improve   Testers are expert feedback providers   Feedback lets team make course

corrections

Page 15: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

15

Focusing on Feedback   Big Visible Charts   Retrospectives   Email test results from build process   Take advantage of short iterations   Discoveries during exploratory testing   Collaboration with users, customers

Page 16: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

16

Foundation of Core Practices   Continuous integration

  Frequent and fast feedback   Coding and testing one process   Test environments   Manage technical debt   Work incrementally   Synergy

Page 17: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

17

Implementing Core Practices   Self-organizing team   Plan stories/tasks to build infrastructure   “Refactoring iterations”   Baby steps – address one thing at a time

Page 18: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

18

Collaborate with Customers

  Elicit examples   Whiteboard discussions   Adapt for distributed teams   Power of Three

Page 19: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

19

Getting Customers on Board

  Build trust   Learn their jobs   Ask for concrete examples, scenarios

  “How will you use this?”   “What’s the worst that can happen?”

  Facilitate developer-customer communication   But don’t get in the way

Page 20: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

20

Look at the Big Picture

  Drive development with business-facing tests, examples

  Use real world test data   Think about impacts on other areas   Use exploratory testing   Use the Agile Testing Quadrants

Page 21: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

Summary – The Seven Factors 1.  Use the whole team approach 2.  Adopt an agile testing mindset 3.  Automate your regression testing 4.  Provide and obtain feedback 5.  Build a foundation of core agile practices 6.  Collaborate with customers 7.  Look at the big picture

21

Page 22: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

22

Questions?

Page 23: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin 23

Now Available

Agile Testing: A Practical Guide for Testers and Agile Teams

By Lisa Crispin and Janet Gregory www.agiletester.ca

My contact info

www.lisacrispin.com

[email protected]

Page 24: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

24

Bridging the Communication Gap Specification By Example and Acceptance Testing

Gojko Adzic

neuri.co.uk

Page 25: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

Agile Testing Resources   www.lisacrispin.com   www.janetgregory.ca   [email protected]   http://www.exampler.com - Brian Marick’s web site   www.testobsessed.com (heuristics cheat sheet)   www.testingreflections.com, www.AntonyMarcano.com   Lisa Crispin and Tip House, Testing Extreme Programming,

2002 Addison-Wesley

  http://www.kohl.ca/blog/archives/000178.html   http://www.developsense.com/2009/04/of-testing-tours-and-

dashboards.html   aa-ftt Yahoo group and Google spreadsheet

Page 26: Seven Key Factors for Agile Testing Success · Adopt an agile testing mindset 3. Automate your regression testing 4. Provide and obtain feedback 5. Build a foundation of core agile

Copyright 2009: Lisa Crispin

Other Resources   Jean Tabaka, Collaboration Explained, 2006 Addison-

Wesley   www.mountaingoatsoftware.com – Mike Cohn’s web site

(and all his books)   Mary Poppendieck and Tom Poppendieck, all 3 Lean

Development books   Esther Derby and Diana Larsen, Agile Retrospectives