Agile Testing in the Real World - RBCS,...

20
Agile Testing in the Real World Moving Beyond Theory to Achieve Practicality

Transcript of Agile Testing in the Real World - RBCS,...

Page 1: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Agile Testing in the Real WorldMoving Beyond Theory to Achieve Practicality

[NEED PICTURE HERE]

Page 2: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Agile Testing in the Real WorldThere are lots of books, articles, and webinars about how great Agile isHowever, those often describe purist approaches that adhere to the Agile ManifestoThis webinar isn’t about that pure world, but rather about what happens when Agile theory meets the real worldIn the real world, companies are coming up with interesting and creative ways to adapt Agile practicesThis creates various opportunities, challenges, risks, and benefits for testing and qualityIn this webinar, we examine those…

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 2

Page 3: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

What Does Agile Look Like?

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 3

Page 4: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Agile Is the Opposite of What?

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 4

Page 5: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Agile Test ToolsGood stuff, mostly free

x-UnitJenkinsCucumberRubySeleniumFitnessePlus various static code analysis (e.g., Crap4J) and code coverage tools…

Not all is goodJira and Rally are not designed by or for testersOften used as bug and test management tools

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 5

Page 6: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Agile Test MetricsTests completedRisks addressed (in risk-based testing)Bugs found and fixedSome organizations don’t measure bugs during sprints (loss of visibility)Velocity of sprint (user stories completed)

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 6

Page 7: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Agile Testing ChallengesVolume and speed of changeRemaining effective in short iterationsIncreased regression riskInconsistent or inadequate unit testingPoor, changing, and missing test oraclesA shifting test basisMeeting overloadOver-commitment in the sprintsSprint team siloingThe Agile hype cycle and high expectationsFor more, check out my recorded webinar on this topic

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 7

Page 8: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Agile Testing OpportunitiesAutomated unit testingStatic code analysisCode coverageContinuous integrationAutomated functional testingRequirements (user story) reviewsTest (acceptance criteria) reviewsReasonable workloadControl of technical debt (via “fix bugs first”)For more, check out my recorded webinar on this topic

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 8

Page 9: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Testing in “Agilish” LifecyclesOne RBCS client has a “train” lifecycle

Train never stopsReleases are never delayedSeven week overlapping cycle (three week releases)

Is this Agile? Purist vs. pragmatist

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 9

Page 10: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Agile Testing for Systems-of-SystemsSystem testing of each iterationSystem integration testing by separate teamStabilization sprint at the end to fix bugsIs this Agile? Purist vs. pragmatist

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 10

Page 11: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Testing for Customized Enterprise Software

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 11

Page 12: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Agile on Outsourced ProjectsSome Agile founders (e.g., Alistair Cockburn) say collocation is essentialHowever, many of our clients are doing a lot of outsourced testing and developmentSome of these clients are trying to use AgileSome are succeeding, some are notAn on-site point-of-contact is key to success

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 12

Page 13: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Tester Skill Implications of AgileIn the United States, the trend is towards requiring programming skill in testersThis trend seems to be expanding worldwideThis is especially important on Agile projectsNot only is programming skill needed, but test automation skills are also essentialAnother important issue is personality

Extroverts generally like Agile because of the emphasis on talking over analysisIntroverts often find Agile harder to adapt to, and some report feeling “bulldozed” by extroverts

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 13

Page 14: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Agile Test Team Organization OptionsFully embedded, testers in each sprint team Fully independent, testers assigned at the end of each iterationMatrixed, testers assigned throughout sprint, but part of independent team Let’s examine each of these options…

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 14

Page 15: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Fully Embedded

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 15

Page 16: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Fully Independent

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 16

Page 17: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Matrixed

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 17

Page 18: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Agile and QualityDoes Agile result in greater quality?Jury is still outThe use of proven (long before the Agile Manifesto) best practices is promisingHowever, the tendency not to measure defects during sprints obscures the situationSome report better quality (e.g., Jones), but metrics are limitedSome of the “proof by assertion” in this area is unhelpful to conducting an objective discussion

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 18

Page 19: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

ConclusionsAgile lifecycles are distinct from sequential lifecycles, in ways that affect testing and qualityA variety of test tools are available for Agile (and non-Agile) teamsMetrics programs may be taking a step backward in Agile projectsAgile lifecycles create testing challenges and opportunitiesThere are many different—and successful—implementations of Agile lifecyclesOpinions differ on whether Agile works on outsourced projects, but many are tryingAgile lifecycles have strong implications for tester skillsCarefully choose organizational options for Agile test teamsAgile’s effect on quality remains unclear, but anecdotal reports are promising

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 19

Page 20: Agile Testing in the Real World - RBCS, Incrbcs-us.com/documents/Agile-Testing-in-the-Real-World.pdf · Agile Testing in the Real World There are lots of books, articles, and webinars

Agile Testing in the Real Worldwww.rbcs-us.com

Copyright (c) RBCS 2008-2013 Page 20

For almost twenty years, RBCS has delivered consulting, outsourcing and training services to clients looking to improve their software and hardware testing and quality. Employing the industry’s most experienced and recognized consultants, RBCS trains and improves test groups, tests products, and provides expert test staff for hundreds of clients worldwide. Ranging from Fortune 20 companies to start-ups, RBCS clients save time and money through improved product development, decreased tech support calls, improved corporate reputation and more. To learn more about RBCS, visit www.rbcs-us.com.Address: RBCS, Inc.

31520 Beck RoadBulverde, TX 78163-3911USA

Phone: +1 (830) 438-4830E-mail: [email protected]: www.rbcs-us.com

To Contact RBCS