agile testing in the real world - rbcs, inc€¦ · this webinar isn’t about that purist world,...

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

Upload: others

Post on 26-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Agile Testing in the Real WorldMoving Beyond Theory to Achieve Practicality

[NEED PICTURE HERE]

Page 2: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Agile Testing in the Real World

There 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 purist 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 World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 2

Page 3: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

What Does Agile Look Like?

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 3

Page 4: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Agile Is the Opposite of What?

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 4

Page 5: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Agile Test Tools

Good stuff, mostly freex-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 World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 5

Page 6: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Agile Test Metrics

Tests completed

Risks addressed (in risk-based testing)

Bugs found, bugs fixed, and bugs remaining open (which can block user story “doneness”)

Some organizations don’t measure bugs during sprints (loss of visibility)

Velocity of sprint (user stories completed)

Number of lines of code added

Code coverage achieved (total and for new code added in the sprint)

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 6

Page 7: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Agile Testing Challenges

Volume and speed of changeRemaining effective in short iterationsIncreased regression risk and the automation needed to manage itInconsistent or inadequate unit testingPoor, changing, and missing test oraclesA shifting test basisMeeting overloadFailure to understand testing’s place in AgileOver-commitment in the sprintsSprint team siloingAccumulation of technical debtThe agile hype cycle and high expectationsTiming of performance testingFor more, check out my recorded webinar on this topic

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 7

Page 8: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Agile Testing Opportunities

Automated 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 World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 8

Page 9: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Testing in “Agilish” Lifecycles

One RBCS client has a “train” lifecycleTrain never stopsReleases are never delayedSeven week overlapping cycle (three week releases)

Is this agile? Purist vs. pragmatist

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 9

Page 10: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Agile Testing for Systems-of-Systems

System 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 World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 10

Page 11: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Testing for Customized Enterprise Software

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 11

Page 12: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Agile on Outsourced Projects

Some agile founders (e.g., Alistair Cockburn) say collocation is essential

However, many of our clients are doing a lot of outsourced testing and development

Some of these clients are trying to use agile

Some are succeeding, some are not

An on-site point-of-contact is key to success

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 12

Page 13: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Tester Skill Implications of Agile

In the United States, the trend is towards requiring programming skill in testers

This trend seems to be expanding worldwide

This is especially important on agile projects

Not only is programming skill needed, but test automation skills are also essential

Another important issue is personalityExtroverts generally like agile because of the emphasis on talking over analysis

Introverts often find agile harder to adapt to, and some report feeling bulldozed by extroverts

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 13

Page 14: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Agile Test Team Organization Options

Fully embedded, testers in each sprint team

Fully independent, testers assigned at the end of each iteration

Matrixed, testers assigned throughout sprint, but part of independent team

Let’s examine each of these options…

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 14

Page 15: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Fully Embedded

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 15

Page 16: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Fully Independent

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 16

Page 17: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Matrixed

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 17

Page 18: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Agile and Quality

Does agile result in greater quality?

Jury is still out

The use of proven (long before the Agile Manifesto) best practices is promising

However, the tendency not to measure defects during sprints obscures the situation

Some report better quality (e.g., Jones), but metrics are limited

Some of the “proof by assertion” in this area is unhelpful to conducting an objective discussion

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 18

Page 19: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Conclusions

Agile lifecycles are distinct from sequential lifecycles, in ways that affect testing and quality

A variety of test tools are available for agile (and non-agile) teams

Metrics programs may be taking a step backward in agile projects

Agile lifecycles create testing challenges and opportunities

There are many different—and successful—implementations of agile lifecycles

Opinions differ on whether agile works on outsourced projects, but many are trying

Agile lifecycles have strong implications for tester skills

Carefully choose organizational options for agile test teams

Agile’s effect on quality remains unclear

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 19

Page 20: Agile Testing in the Real World - RBCS, Inc€¦ · This webinar isn’t about that purist world, but rather about what happens when agile theory meets the real world In the real

Agile Testing in the Real World

www.rbcs-us.com

Copyright (c) RBCS 2008-2016 Page 20

For over 20 years, RBCS has delivered consulting, training, and expert services to clients, helping them with software and hardware testing. Employing the industry’s most experienced and recognized consultants, RBCS advises its clients, trains their employees, conducts product testing, builds and improves testing groups, and hires testing 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 Road

Bulverde, TX 78163-3911

USAPhone: +1 (830) 438-4830

E-mail: [email protected]: www.rbcs-us.com

Twitter: @RBCS, @MisterSDET, @LaikaTestDog

Facebook: @TestingImprovedbyRBCS

LinkedIn: https://www.linkedin.com/in/rex-blackYouTube: https://www.youtube.com/user/RBCSINC

To Contact RBCS