Leading Quality - Global App Testing Ebook
Leading Quality - Global App Testing Ebook
“Leading Quality is a must-read for all managers who are serious about
quality within their organizations. From automation to best practices
and insights, this book covers it all.”
Maryann Lockley, Head of QA at Camelot Group - The National
Lottery
“Finally! A book to help managers and executives understand why they
should care about quality and why a big investment in quality pays off in
the form of a successful product. Insights and stories from leading quality
practitioners illustrate why and how companies need to focus on quality.”
Lisa Crispin, author of Agile Testing and More Agile Testing
“Most books in this space just focus on the details of testing, this is the
first book that tells you how to LEAD quality.”
Daniel Knott, author of Hands-On Mobile App Testing
“Leading Quality stands out as one of the few titles that actually talks
about how to lead quality from a manager’s perspective. A great read for
those who want to take their team to the next level.”
Stephen Janaway, VP Engineering at Bloom & Wild
“For too long, there has been a disconnect between testers and C-level
leaders in terms of how testing and quality are viewed. This book is
a MUST-READ for anyone in a management or leadership position.
Leading Quality is also a useful resource for testers as it gives different
perspectives on quality and will equip you with the language to be able
to speak to the managers and leaders in your organization to positively
influence change. This book is only the beginning of a big movement
toward quality leadership within the industry.”
Dan Ashby, Head of Quality Engineering at Photobox and former
Head of Testing at eBay
Download now:
lqbook.co/audio
* The free version of the audio book is sponsored by Global App Testing www.globalapptesting.com
Leading Quality: How Great Leaders Deliver High-Quality Software
and Accelerate Growth
Version 1.0.1
FOREWORD......................................................................................................... XII
INTRODUCTION...................................................................................................... 1
CONTINUOUS TESTING.................................................................................. 61
Worksheets............................................................................................. 116
Resources by Chapter.............................................................................117
Recommended Blogs/Influencers....................................................... 119
ABOUT THE AUTHORS....................................................................................... 120
ACKNOWLEDGEMENTS..................................................................................... 121
NOTES................................................................................................................. 124
INDEX................................................................................................................... 131
FOREWORD
BY NEIL BROWN, TESTING SERVICES PARTNER
AT DELOITTE CONSULTING
its impact into words that drive behavior across the organization, from
the developers to the executives.
It’s not financially viable to deliver the same depth and breadth of
testing today as we did on applications years ago. The complexity and
sheer volume of code under test would require five or six times as much
effort. It’s simply not feasible from a resource perspective.
As testing has moved from the periphery of importance toward the
center, the roles and required skills of our profession have changed,
too. Being good at testing is no longer sufficient. Success now relies
more and more on your ability to distill business insights from testing
functions as well as to clearly articulate them and drive change across
multiple teams.
“Leadership” for a QA professional encompasses more than just
leading testing teams. If quality has become key to business success,
then it stands to reason that those tasked with quality must be able to
impact teams and contributors throughout the organization. You must
be able to align with all the business teams while working within the
overall goals and directions of the business, even as those environments
constantly change.
A financial services company with a regulatory deadline might have
one type of risk profile. An entertainment app might face intense
market competition. A tech company might be preparing for a merger
or acquisition. Each of these organizations presents a different profile
of risk tolerance. It’s now the responsibility of QA professionals
to interpret those risk profiles and tailor their approach to testing
accordingly.
In some circles, though, testing is still seen as a commodity a race to
the bottom, using the cheapest resource available. In some cases, that is a
valid approach, but I, for one, refuse to talk in terms of headcount and day
rate. I talk about solutions, client value, and the risk mitigation achieved.
FOREWORD XV
issue this really was. She later explained to us what she had found: in
Indonesia, just under 40% of the population don’t have a last name.1
This is a result of the 17,000 islands having over 300 different ethnic
groups, in addition to hundreds of years of colonization, religion, and
politics. While the more tech-savvy Indonesians work around this by
typing a star or dot when prompted for their last name, other would-be
users stop at this point.
The more she looked into it, the more she became convinced that the
“Last Name” field was the true problem. She shared the information
with her team and they made the change; Indonesia no longer required
users to provide a last name on signup.
Once they made that change, an incredible thing happened: user
adoption went through the roof, putting Indonesia ahead of all the
other Southeast Asian countries.
Fixing that one bug had unlocked a market of 262 million people.
The company had been stumped by this problem for months. Their
team in Sweden had racked their brains going through their internal
data. It never once crossed their minds that something as simple as a
last name was an issue, much less the primary barrier to adoption. It
took a local tester to point out something that, to an Indonesian, was an
obvious flaw.
When telling this story, I sometimes get asked “How can a company
miss something so simple?” The truth is, in fast-paced organizations,
both large and small, the simple things often get overlooked.
While it was great that this insight unlocked the growth they were
looking for, perhaps the bigger impact was that, for the first time, senior
people in Anna’s company sat up and took notice of the value testing
could provide.
Witnessing Anna’s company go through this process had a profound
effect on myself and my cofounder, Owais. We saw how testing could
INTRODUCTION 3
The “fire” that frustrated us the most was the number of bugs in our
software. Owais and I would find bugs. Our engineers would find bugs.
Our customers would find bugs. We soon realized that these quality issues
were more than just problems—they were killing us. Our customers
started getting frustrated because of the issues in our app, leading them
to eventually abandon it altogether. Customers expected a seamless
experience and our lack of quality ultimately strangled the company.
Our experience with PS Beauty is important because it reminds us that
software issues aren’t just inconveniences. They can kill applications,
projects, or even whole companies like ours.
We founded Global App Testing to help other organizations deal with
the same fires that killed our startup. We could empathize not only with
our customers, but also with other companies; we knew that one of the
latter’s primary challenges lay in how they viewed testing. After all, we
had first-hand experience of seeing a product fail precisely because of
how we had approached QA.
As our company has grown, we have had the great fortune to work
with and spend time inside companies. We saw what worked and what
didn’t for the leaders of those companies when it came to quality. We
were commonly asked, “What should my QA strategy be?” Since we
worked with that question almost every day, we didn’t think it would
take long to turn our thoughts into a book.
Little did we know it would take us on a two-and-a-half-year journey,
meeting the top engineering, product, and QA leaders in the world from
companies like Airbnb, Blackboard, Dell, Atlassian, Reddit, and other
technology companies, totaling 120 interviews.
From our experience spending time with our testing community
through more than sixty Testathon®, a hackathon-style event designed
for testers, Owais and I also had the ability to expand and hone our ideas.
As we came to the end of the book, we realized that there was a much
INTRODUCTION 5
for five minutes for a page to load. We could go get a cup of coffee and sit
back down, ready to read through the page. Today, we’re used to pages
loading in split seconds. If they don’t, we get annoyed.
In the past, we were used to software crashing several times a day
and having to deal with the awful Windows “blue screen of death.” It
frustrated us, but we put up with it because we had to. Nowadays, if
something crashes, we just find the nearest competitor and start using
their software instead. Our collective expectations of quality and
tolerance of issues have shifted over time.
In his 2018 annual letter to shareholders,3 Amazon founder Jeff
Bezos talked about continual customer obsession as the key to
Amazon’s growth. According to Bezos, customers are always “divinely
discontent.” The customer’s expectations never remain the same, their
needs are forever growing, and their point of view is ever changing.
They will always want something better than whatever they have today.
That’s the essence of quality. It’s hard to define because nothing
about it is constant. But therein lies the opportunity in software
development: by always trying to catch up with the moving goalposts of
your customers’ expectations, you will constantly be delivering better
and higher-quality software.
Leaders who embrace this idea—that companies live and die by
quality as perceived by their customers—and make it their mantra
will adapt and grow with them. Those who focus on functionality and
internal definitions of quality...won’t.
During World War II, the UK had a problem: bombs exploding in the
factories during manufacture. In response, the Ministry of Defence
required all factories to have a written process for how they made
their bombs and placed ministry-approved inspectors on-site to make
sure those standards were adhered to. This became the catalyst for a
movement toward “quality standards.”
This solved the immediate problem. Bombs stopped exploding in
the factories. (Or, at least, far fewer did.) But it didn’t address other
important issues: Did the bombs go off when they were supposed to
(i.e., when being dropped on a target)? Was there a way of making
better-quality bombs? Quality became solely focused on internal
inspection, not value.
The next great leap in quality standards, however, came from an
unexpected place: post-WWII Japan.
After the war, the nation’s leaders looked to manufacturing and
exporting finished goods as a way to quickly rebuild the devastated
economy. But they took quality standards even further and developed
HOW QUALITY LOST ITS VALUE 11
to fly), and also the brand damage that came as the issue spread like
wildfire over news outlets.
But a more damaging and often overlooked issue is how poor quality
can affect the company internally. We’ve been inside organizations
where QA was a disaster. Heads of development knew they had serious
product quality issues but were constantly pushed to release. Software
engineers constantly had to rework the codebase, stuck in an endless
loop of fixing bugs instead of working on developing new features.
Who wants to work in that kind of environment where teams feel
like they are on a forced death march, putting in overtime on a project
destined to fail? That environment saps the energy, creativity, and
motivation right out of the team. Managing in this environment can be a
vicious cycle as you can lose your best team members and the remaining
team can become even more frustrated and disillusioned.
People want to be part of creating great, game-changing products
that help others, disrupt the status quo, or at least provide some sort of
real value. Nobody wants to create an awful product.
Being a leader and seeing the press highlight issues in your software,
while knowing you might be losing your best people internally, doesn’t
paint a great picture for your personal wellbeing or career.
When the CEO of subprime lender Provident Financial announced a
software glitch that led to collecting only a little more than half of loan
debts on time, the stock price tumbled 74% in a single day; he resigned
shortly thereafter.11
In a report estimating the global cost of bad QA, one survey
respondent said:
Every CIO I’ve ever known has had large, board [of directors]-visible projects
where a defect discovered at the release date is so critical that it requires a
major redesign of the project that leads to tens, if not hundreds of millions of
HOW QUALITY LOST ITS VALUE 15
the effect on the 3Cs: happier customers who get the most value out of
your software while dealing with fewer issues, a company whose core
growth metric is continually growing, and the knowledge that you and
your team were a major contributor to that success.
18 LEADING QUALITY
One of the things that blocks leaders from being able to make the change
they want in their organization is the organization’s existing culture of
quality.
Coming from a technical background myself, I used to have quite an
aversion to words like “culture.” At times, they seemed like terms used
by business schools rather than having real-world implications. It’s not
uncommon for engineering leaders to feel this way. Jason Cohen, the
founder and CTO of WP Engine, describes the moment he began to
understand the importance of culture:
It made me think that there might be other attributes that contribute to the
success of a company besides how many lines of code you could write in a day.
It made me realize that, no matter what your position on this culture stuff
was, you still had a culture at your company. If you’re like I was, a skeptical,
engineering-type founder, and say, “I don’t care about all this touchy-feely
20 LEADING QUALITY
stuff. It’s all horseshit. All I care about are results and performance,” even
that is a statement of culture.14
At HubSpot, we’d have the support team, and we’d say, “Hey support, we
want to fix the problems that you’re seeing the most. We pledge to do that work,
but you need to do the work of organizing and prioritizing what we should be
focusing on.” ...most of the support call-drivers end up being user experience
issues.
“Strategy is, in essence, problem solving, and the best approach depends
upon the specific problem at hand. Your environment dictates your
approach to strategy.”
There are different types of software products, different software
development methodologies, and different user expectations and
requirements. Without context, your “How to Test” Narrative could be
flawed.
The best narratives on how to test focus on two things.
First, having a clear understanding of the different options and ways
to test. Once you know this, you can assess the benefits, limitations, and
type of information that each option provides. This will help you make
better strategic decisions.
The second is a clear understanding of the maturity of your team,
product, and company. This context ensures that the choices made fit
with the current stage of development.
Over time, the maturity of your team, product, and company will
evolve. This means the “How to Test” Narrative isn’t static. It adapts as
you change. In Chapter 5, we’ll take a deeper dive into this concept as we
discuss how quality changes with product maturity.
when the tide goes out do you discover who has been swimming naked.”
All too often, management teams are not always convinced of the
tangible value of investing in quality, until their company experiences
quality issues like we saw with American Airlines’ holiday scheduling
bug in Chapter 1.
The methods to invest in quality are easy to understand and tangible,
like new staff, infrastructure, tooling, and third-party vendors.
However, it’s not always easy to measure results like increased customer
satisfaction, improved internal efficiency, and time saved by your team.
This makes demonstrating the return on investment (ROI) hard.
When talking about the value that investing in quality brings, it’s
important to focus on three main areas: revenue potential, savings, and
risk mitigation.
Revenue Potential
How can you demonstrate (or talk about) the work quality teams are
doing in a way that highlights the missed revenue opportunity if quality
is overlooked? Or the revenue potential from focusing on a particular
aspect of quality? A few ways to do this could include:
Improving the company’s core growth metric – As we will see in
Chapter 8, having your quality teams focusing on the core metric that
contributes toward company growth helps to keep everyone aligned.
It also allows you to show a clearer correlation between the work the
teams are doing and the contribution to the business, as we saw in the
Indonesia story at the start of this book.
Describing how an increase in speed improves time to market
– For example, if there has been an internal focus on developers unit
testing before committing code, this frees up time for testers to focus
on testing—not checking whether or not an engineer has met the
acceptance criteria or being held up by a crashing bug or basic error
26 LEADING QUALITY
that an engineer should have picked up through their own “happy path”
testing. This ultimately results in the build achieving release-level
quality faster, which means fewer build revisions and testing cycles
within a sprint. However, when communicated, this should be discussed
in terms of its ability to improve the company’s time to market.
Uncovering additional value for the customer – In addition to
quality teams focusing on the company’s growth metric, they need to
pay close attention to the value that the customer gets from the product
(covering onboarding, engagement, and retention). This way, they can
increase the likelihood of the customer using your product and paying
for it in the future.
Savings
When we talk about the work we do, do we speak in terms of the
financial savings that we are able to make or influence in the company?
For example, consider the following:
Monetary value of your team’s time – Investing in quality can help
maximize the productivity of both your engineering and internal test
teams. That might be due to your engineers no longer having to context-
switch, deal with reworking features, or do an additional sprint before
the feature is ready. It could be that your internal testing team don’t
have to focus on executing test cases better performed by an automated
process or crowd. Regardless, the monetary saving from investing in
quality can be seen in the hours that a person saves in a day, which can
be used elsewhere.
Saving on infrastructure costs – There are also more direct monetary
savings that can be achieved with things like infrastructure costs. Take,
for example, the need to buy new devices for testing on. This cost can
be reduced by utilizing crowd-testing services or device farms. Not only
does this save on the capital expenditure of having to buy such devices, it
THE POWER OF A QUALITY NARRATIVE 27
also reduces the need to maintain and upgrade them over time.
Risk Mitigation
The risk of having a critical issue arrive in production is often one of
the primary reasons that management increases the budget to invest in
quality. No one wants a PR disaster on their hands from a lack of testing.
When I hear people talking about the value of quality, these
conversations often center on risk mitigation, sometimes touching on
the savings that could be made, but unfortunately, revenue potential is
rarely highlighted.
Understanding how to talk about quality by starting with its revenue
potential and then discussing savings and risk mitigation is an important
step to having people look at quality teams not as a cost center, but as an
asset that can help contribute to company growth.
Knowing the audience you need to influence and what their moti-
vations, goals and fears are
Creating empathy to increase alignment and understanding
between teams and individuals
Supporting the narrative with evidence to add weight to your ideas
Cultivating internal champions to help create momentum
The best leaders use the above methods to get everyone around them
on board with the changes they want to make.
Once you’ve answered these questions, you’ll notice how different the
motivations are for each of the people you’ve listed. Use this as a basis
to find a way to speak the language of the person you’re trying to influ-
ence. Find what’s important to them, and then frame the issue in terms
that make them sit up and take notice.
Instead of talking about features and information, highlight the
benefits your idea can deliver, especially as it relates to their worries
LEADING A CULTURE OF QUALITY 33
and wants. Paint a picture of the future: what will it provide them with
that they don’t have now?
At a recent CIO Panel, former CIO of Shared Services at Procter &
Gamble, Andy Walter said that, when speaking to senior management,
you need to “raise the discussion” and answer a basic question for them:
“What can I do with my business, now that I have this, that I couldn’t do
before?”
This means that, when speaking with a management audience, you
should focus the discussion around customers and the effects on the
business.
Shesh Patel, Engineering Manager at The New York Times, understands
this principle perfectly. He adapts how he presents his ideas based on
the person or people he is speaking to.17 For example, when he wanted
to implement a new project that would reduce the time it took to run
regression tests, he adapted how he explained it to different people.
When speaking with the leadership team, he focused on the number
of dollars saved by implementing the idea, as well as what could be
done with the savings to further improve the team’s ability to release
high-quality products. When communicating with the product team,
he highlighted how it would improve the whole team’s ability to release
new features quicker. Likewise, while talking with the engineers, he
underscored how it would affect the engineers experience, emphasizing
everything from how it would make their release process easier, to the
reduction in the number of flaky tests they would have to deal with a
point he knew was a major frustration for the team at the time.
One idea, three different ways of aligning it with individual goals.
By knowing more about the person you want to influence, you can
ensure that the way you communicate appeals to them. By tailoring
your message this way, more people will buy into your ideas, as they will
have a clearer understanding of what’s in it for them.
34 LEADING QUALITY
From that day to the day we sold the company, the sales engineering and
support organizations worked better together than any other major groups
in the company, all thanks to Freaky Friday, perhaps the most insightful
management training film ever made.
LEADING A CULTURE OF QUALITY 35
Internal Evidence
Having internal evidence that your idea is worth pursuing has the huge
advantage of being relatable to the people inside your company. This
increases the level of empathy available when aiming to create change.
Arylee used internal surveys to gather information on what the team
cared about, giving her useful evidence based on the engineering team’s
feelings around quality. An alternative approach is to perform a small
internal experiment to prove the merit of your idea.
In the early days of Airbnb, code was hitting the production servers
without many checks and this was becoming problematic as the
company scaled. Lou Kosak, one of the engineers at the time, started
a small internal experiment to see how they could change the way his
team, and others, worked. He wrote the following in a blog post:22
With the success of the experiment, Lou and the rest of his
engineering team ensured that all new hires were briefed on best
practices that involved submitting pull requests. This naturally led to
LEADING A CULTURE OF QUALITY 37
External Evidence
If you don’t have internal evidence, you can also use external evidence.
However, the effect of external evidence is different. Rather than adding
empathy, it is used to increase credibility, illustrating that your ideas
are proven and have a high chance of being successful. There are many
different sources you can use: data from industry studies, presentations
from talks, or even books (like this one) that have examples from well-
known companies.
When using external evidence, make sure you have a good
understanding of what the statistics really mean or why the example
worked. Otherwise you could end up falling into the “How to Test”
Narrative mistake we discussed in Chapter 2 where there isn’t enough
understanding of how it needs to be adapted to your current situation.
38 LEADING QUALITY
Mark was in the conference room for the team’s morning stand-up.
The company had just hired a new VP of Engineering a couple of weeks
before. On this particular day, the VP was explaining his thoughts on the
direction of the team. His main priority was to increase development
velocity. A big part of his vision was to reduce the QA bottleneck by
automating 100% of testing with a new automation framework.24
“I believe we’ve found a platform that can help us automate all of our
testing and shore up our quality issues,” he remarked.
Mark was skeptical, however. The new VP wasn’t around the year
before when the company had first tried to move toward automation.
At that time, there was a sense of urgency. It seemed like everybody
else was automating and they certainly didn’t want to be left behind. It
sounded great in theory.
In reality, it was chaos.
42 LEADING QUALITY
Automation has its time and place. However, for some reason, many
believe in a fantasy version of its possibilities. Why has a whole industry
bought into the idea of full automation when only 14% of enterprise
software is currently automated?25
Just like in The Wizard of Oz, to get to the truth we first need to
understand who’s behind the curtain.
He drew another box and wrote “Investigating,” then drew yet another
box, labeling it “Verifying.”
FOUNDATIONS: MANUAL TESTING VS. AUTOMATION 47
Dan continued:
So, when we think about testing, there are two broad types of testing we can
do. The most common form is investigating. This is when we use our own
creativity to uncover new information about a product. Every investigative
activity gives you more information about the product. The more information
you have, the more you can use it to guide further exploration. The amount of
exploratory testing you can do is limited only by your imagination.
When engineers create software, they can create a checklist of all the
things it should do. An automation engineer can turn that checklist into
a program to verify that, yes, this software does everything it’s supposed
to. However, there is a level of creativity required to identify ways in
which the software wouldn’t work, scenarios under which it might not
perform as expected.
There will always be unexpected factors that need to be explored. It’s
hard to plan for the unknown. If you can’t plan for it, you can’t create
an automation script for it. The result: you will always need specialized
testers who can use human imagination, knowledge, and experience to
48 LEADING QUALITY
When these three factors are in place, you can enjoy the benefits of
automation: it scales, it provides faster feedback loops to developers
when there is a problem, and it improves the accuracy of repetitive tasks
Dan helped us realize that people are approaching the whole
automation question wrong. Don’t ask, “Should we automate or not?”
Automation is just one way to test, a single tool in your toolkit. That’s
like asking an engineer, “What’s the best way to code?” or asking a
chef, “What’s the best cooking method?” There are plenty of ways to
code and cook; a professional wouldn’t limit themselves to just one
way every single time.
You have to realize that there are really two types of information-
gathering activities in testing: investigating and verifying. Dan’s
framework showed us that using manual or automation doesn’t have to
be a binary choice. Manual by itself won’t allow you to scale. Going 100%
automated is impractical and, ultimately, unsustainable. The middle
way is a blend between the two. It is fruitless to argue for or against
either, much like arguing whether hammers or spanners are better.
The best tool depends on what you’re trying to do.
50 LEADING QUALITY
Through Global App Testing, Owais and I have had ringside seats,
watching as our long-time clients have grown from fledgling startups
to established companies, and to see others grow from regional
businesses to having a global footprint.
As we watched their growth, we witnessed the changes in their
customer bases in line with the five stages of technology adoption:31
52 LEADING QUALITY
In the early 2000s, social media was still relatively new. We had
services like Myspace and Bebo, but these were far from mainstream.
Most people on social networks at the time were the innovators and
early adopters of technology.
Over the subsequent years, more people have adopted social media.
With the increase in adoption, the demographic of who uses each
platform has expanded.33 While many of the social media services
started out with a younger audience, they have now grown to include
the older generations of parents and grandparents. These people would
be classified as the ‘late majority’ and ‘laggards’. Each company must
then adapt their product and view on quality to suit this new type of
user.
Reflecting on our clients’ product evolution as they grew, we noticed
that the way their teams looked at testing also changed. Each product
moved through three broad categories:
than you had during the validation stage and, accordingly, want your
QA strategy to focus on allowing the team to move fast with the correct
infrastructure.
Finally, once you begin to mature in your primary market, you may
start to eye additional markets or opportunities, which, in turn, bring
further demands. With an increase in late-majority users and laggards,
you need a QA strategy that can help the company as it delivers scalable
growth. We call this the scaling stage.
As a product evolves through these stages, your QA strategy will
naturally change. Therefore, so too will the tactics and tools you use.
When things begin to break, it’s not necessarily a sign that your QA
has begun to fail. It could just indicate that your needs have changed
and so you need to change your strategy to succeed.
test cases and automation scripts for stable features. With a viable
product and market, it makes sense to put more resources behind
the app and invest in testing infrastructure (e.g., optimizing code for
testing, creating or expanding an automation suite, and creating tools
to support quality).
Steve Janaway is VP of Engineering at Bloom & Wild, one of the
fastest-growing tech companies in the UK. He describes the benefits of
focusing on predictability at this stage:
...it makes the team, as a delivery unit, easier to predict and therefore easier
to manage...the team is not being sidetracked with a bunch of live issues
stemming from edge cases that nobody considered.
For Dominic and his team at King, once they reach this stage, one of the
first issues they deal with is the technical debt that accrued during the
validation stage. In a rush to find product-market fit, inevitably a team
has taken shortcuts. They make it work and worry about doing it right
later. (If there is a later.)
Like any debt, the longer you ignore it, the more it’s going to hurt
when you’re finally forced to pay it off. But knowing this doesn’t help
with the pressure. Dominic describes the feeling of having a binary
choice, with neither of the two options seeming favorable: “Should
we invest the next three to five months embedding a test automation
framework? Or should we focus on hitting the next major milestone for
the lifecycle of that game?”
To deal with this delicate balance, King use a mixture of different
tools and strategies. The team refactors the most important parts of
their codebase as they begin to add new features.
They also increase the levels of automation on the game (which
increases predictability) as well as utilizing a crowd of testers, both
HOW QUALITY CHANGES WITH PRODUCT MATURITY 57
That’s when we decided to pause and review our QA. While we had people
who believed in a quality culture, it still fell to our testers to be responsible for
it. We asked ourselves, “How can we speed up delivery, be more productive,
make our lives easier, and move our philosophy of quality from playing a bit
part to being the foundation of our culture?”
before a line of code has been written. A bug found post-release could
cost $16,000 or more to address. Yet that same bug could have been
remedied in these early stages for as little as $25.42
The earlier you can identify and address a problem, the more time
and effort it will save you in the long run. That’s why it’s so important
to have the mindset that “continuous testing” applies throughout the
development cycle.
Once we are clear that quality teams can help by continuously testing
at any point in time,43 we are able to start working out how to get the
most out of different testing approaches.
FEEDBACK LOOPS
In his foundational book on DevOps, The Phoenix Project, Gene Kim
IMPROVING FEEDBACK LOOPS TO SUPERCHARGE CONTINUOUS TESTING 65
wrote:
Everyone needs fast feedback loops to prevent problematic code from going into
production and to enable code to quickly be deployed into production, so that
any production problems are quickly detected and corrected…The competitive
advantage this capability creates is enormous, enabling faster feature time to
market, increased customer satisfaction, market share, employee productivity,
and happiness, as well as allowing organizations to win in the marketplace.
At a high level, the idea of feedback loops reflects the reality of today’s
competitive business environment. The old method of planning an
enormous project, budgeting resources, taking months to create a
physical or digital product, and then finally getting it to market just
doesn’t work for the vast majority of companies today. Markets are
continually disrupted to the point that whole industries are transformed
in a matter of months or even weeks.
In Chapter 4, we quoted Dan Ashby’s comment that “testing is a
continuous attempt to uncover information.” Feedback loops help us
focus on getting information on product quality to the team as fast as
possible. A single feedback loop can begin with a trigger event—such
as an engineer merging their code to a feature branch, which sets off
a testing suite—and end with a form of results (information) that the
engineer can use to make a decision. The shorter the feedback loop, the
faster a team can respond with changes.
However, when it comes to feedback loops, faster doesn’t always
mean better. Different types of testing provide different types of
information. Just like Ashley at Blackboard, starting by determining
what type of feedback you need gives you a better indicator as to what
testing type is most suitable.
Elisabeth Hendrickson, the VP of Data R&D at Pivotal Labs, has a
66 LEADING QUALITY
great model that focuses on the idea that different types of testing
answer different questions:44
As she points out, the feedback loop is different for each of these tests.
They have different costs and response times, and return different
types of information. A unit test, for example, could quickly return a
pass/fail answer, but it couldn’t tell much beyond that. Some forms
of exploratory testing could take multiple days, but would provide a
wealth of insight. Although it would take longer to provide feedback,
this doesn’t discount its value. Different approaches solve different
IMPROVING FEEDBACK LOOPS TO SUPERCHARGE CONTINUOUS TESTING 67
problems.
Once you have the right feedback loops in place giving you relevant
information about the quality of your product, the next step is to work
out how to get the information as quickly as possible.
Each of these at first may only seem to provide a marginal gain. However,
over time, the compounding nature of continuous improvement will
start to have a positive effect on the overall efficiency of your testing.
Do your users care if your MySQL servers are down? No; they care if their
queries are failing. (Your users don’t even know your MySQL servers exist!)
Do your users care if a support (i.e., non-serving-path) binary is in a restart
loop? No, they care if their features are failing. Do they care if your data push
is failing? No, they care about whether their results are fresh.47
Overall, our shift in focus to symptom-based alerting has paid dividends and
has allowed us to detect issues and react faster, making the site more stable
and providing a better experience for our fans.49
TESTING IN PRODUCTION
The idea of testing in production used to be associated with amateur
programming, shipping things with little to no prior testing and
delivering a terrible user experience. However, over the past couple of
years, there has been an increasing interest in how testing in production
can help improve the quality of a product, while making the systems we
build more robust.
Although there are different schools of thought around this, the
underlying theme is that most environments that people test in (local,
staging, etc.) are not close enough to the production environment.
The difference in configurations, data sets, and assets in production
environments can alter the experience your end user receives.
Therefore, the closer you can test to the environment a user will be in,
the better understanding you have of your product’s quality. This is the
approach that media companies like The Guardian have taken.
A national UK newspaper in print since 1821, The Guardian launched
76 LEADING QUALITY
its online edition in 1999 and since then has added Guardian US and
Guardian Australia. Across all of their platforms, they now have over 150
million unique visitors a month.
Sally Goble, the former Head of Quality at the iconic paper, talked
to us about how she utilized testing in production. For many years, her
teams had focused on writing automated tests that ran before shipping
to production. But those tests were, in her words, “unreliable and
slow with lots of false positives. We were constantly refactoring the
automated tests because they were just so flaky.” 50
Because of this, their developers were disengaged in the work
the quality teams were doing, not trusting the test results while
simultaneously resenting the fact that they slowed down the release
process. They had no confidence in the tests themselves and, frankly,
didn’t want to waste time executing them.
In response, Sally began to think about QA from a lean perspective.
Her team’s main objective was to improve the quality of the product
without slowing down the release process.
If the team had a solid infrastructure in place that allowed them to
continually deploy, monitor if there were any changes in core metrics,
and roll back if there was a problem, they could take the risk of finding
the problems later in the process even if that meant post-release.
The team began to experiment with keeping a smaller set of core
tests that would run in the development phase, but started to move
toward more monitoring and automated testing in production.
As everyone in the development and quality teams became more
comfortable with the idea, they started to notice improvements.
Quality teams had more time to focus on the most critical parts of the
product. Engineers saw more value in the testing that was happening,
as they were getting the right type of feedback they needed at each
stage of the development process.
INVESTING IN TESTING INFRASTRUCTURE 77
One member of her former team, Jacob Winch, put it like this:
We believe developers should derive confidence from knowing their code has
run successfully in the real world, rather than from observing green test cases
in a sanitized environment. We minimized testing run pre-deployment and
extended our deployment pipeline to include feedback on tests run against the
production site.
I’d argue that being able to successfully and safely test in production requires
a significant amount of automation, a firm understanding of the best practices
as well as designing the systems from the ground up to lend themselves well
toward this form of testing.
It’s better to have testing processes in place beforehand and have them happen
regularly during development. By the time you actually do the release, you
will already have the confidence to ship.53
When speaking with our own quality team, I often say, “The role of
quality isn’t over until it’s fixed for the user.” I seek to highlight that
quality isn’t just about testing, and deploying faster doesn’t mean you
should deploy bad code faster.
Once code is in production, it’s important to remember that the
infrastructure should be there to support your customer having the best
experience of your product. This holds true whether you find yourself
in the early stages of setting up an infrastructure like Charles (from
EVRYTHNG) where you are focusing on continuous delivery to get
new features and bug fixes deployed faster, or at a more advanced point
like Sally from The Guardian—where you are focusing on monitoring
and testing.
80 LEADING QUALITY
A few years ago, I had lunch in New York with a young QA engineer. He
worked for a company that created absolutely stunning virtual reality
tours for university campuses. During the conversation, I asked him
which core metric his team was working toward.55
“Zero bugs,” he said with no hesitation.
Fortunately, he didn’t see the look of disbelief on my face. I was
worried for him and his team. Zero bugs is not only virtually impossible
for a high-growth startup to achieve, but it’s entirely the wrong focus.
“And how did you work that out?” I asked in a neutral tone.
His response echoed what we’d heard before: the CTO had come
under fire because of the number of problems customers had reported
in the latest release, so he had set a goal of zero bugs as the metric for
the quality team.
Choosing a metric like that is bad for two reasons. First, the focus
ALIGN YOUR TEAM TO YOUR COMPANY GROWTH METRIC 83
wasn’t on value. Was “zero bugs” going to bring the biggest value to the
business? Would it help them grow? Was fixing every bug important for
the customer?
Second, as he explained the dynamics of the metric in detail, I learned
that it had only been given to the test teams. The Ownership Narrative
was all wrong. It disregarded the role that all the other teams played in
the reduction of bugs.
As we sat there discussing ideas about aligning the operational work
that he did with potential business goals, he asked a question that Owais
and I get asked often when we speak at conferences: “How can you
connect QA to business metrics when QA is just a support function?”
When this question comes up, we normally answer with another
question: “Inside your company right now, what’s the core metric you
use to measure how the company is going to grow?”
The standard responses are usually sales, profit, revenue, number
of active users, or some other outcome-led metric. Then we ask a
follow-up question: “Now, what kind of success metrics do you have for
your testing team?”
Common answers include the time it takes to run test cases or
the number of bugs found. In other words, activity-based metrics.
The problem with them is that it’s difficult to measure how those QA
activities support the outcome-led metrics the business is driven
by. This usually results in a lightbulb moment where members of the
audience see how their testing team are measuring things that aren’t
impactful.
In The Lean Startup, author Eric Ries calls these “vanity metrics.”
Numbers that make you feel like you’re getting results but are hard to
action on and don’t correlate to the success of the business. On top
of metrics like “bugs found,” other types of vanity metrics include
registered users, downloads, or raw number of pageviews. They sound
84 LEADING QUALITY
impressive and may even look good (especially when everything’s going
right). But do your customers really care how many bugs you found? Do
they care that you cut your automation suite runtime in half? Those are
indirect measures of things that ultimately matter: active users within a
time period, engagement, cost per new customer, or profit.
Compare the typical answers to the questions regarding a company’s
business metrics and quality metrics. You’ll immediately see the
disconnect between how they measure business success and QA
success. The business metric focuses on a quantifiable result. The
quality team’s metric focuses on action rather than outcome and
typically has little measurable effect on the business outcomes.
You can cut your testing time in half and see zero effect on sales or
revenue. You can decrease the number of bugs found to nearly nothing
and not see a spike in your number of active users. Ultimately, the
metrics your testing team focus on should improve overall company
growth.
The final question we ask when speaking at conferences is:
“Which metrics can your team affect that will have the biggest impact
on your company?”
That question reframes the whole dynamic by bridging the gap
between growing the overall business and the focus of the quality
teams. Instead of seeing QA as a support function, it turns QA into a
growth driver.
Put another way: how can your quality teams help your company
grow?
business.56
From conversations with different departments, it was clear that
a communication gap had arisen, whereby the quality team were
developing test strategies with no connection to what was important to
the company and it was affecting inter-departmental relationships.
To make changes, Ilya knew it was critical to get alignment between
all teams. For HelloFresh, this was done through OKRs (Objectives
and Key Results), 57 a goal-setting framework pioneered by Intel’s Andy
Grove and adopted by companies like Google. The most important
metric for HelloFresh was the number of recipe box subscribers.
Ilya’s first step was to make sure that his teams were being exposed
to the data on the number of subscribers and that they understood
why it was important. Next, he encouraged his teams to begin speaking
in terms of the effect that situations would have on the number of
subscribers. This meant that when they performed risk-based analysis
on where to test, they focused on areas that would have a greater impact
on the subscriber metric. Even though the idea was new to them, they
got it and started to think about new ways to impact the metric.
For example, a critical part of HelloFresh’s development
infrastructure involves using A/B testing to optimize conversion
rates across the platform. Due to the iterative nature of the A/B tests,
the code wasn’t as clean as the rest of their codebase. This wasn’t a
problem when a test failed and the code was removed, but it became a
problem when a test passed and the winning test would be merged into
production. By having a focus on what was affecting the subscription
metric, the quality team paid more attention to the significance of A/B
tests than they would have previously.
Ilya also noticed a change in his teams’ attitude toward work. Their
motivation picked up, as they were clearer on how they contributed to
the company’s success. Product management and engineering teams
86 LEADING QUALITY
productivity-based.
Think of how clear a goal that is: “How can we get more teams to send
over 2,000 messages? What quality issues are blocking that?”
To determine your growth metric, first pick one of the three metric
types. Even though there may be more than one that suits your company,
try to find the one that resonates the most.
Next, write down how your customer gets value from using your
product. Once you have a few ideas, try to whittle it down to a single
growth metric that you think will have the biggest impact on your
company. If you get stuck, try focusing on a different growth metric
type to see if it sparks any new ideas.63
But what about your other metrics? In reliability engineering teams,
they often use a metric called mean time to recovery (MTTR). It looks
at how long it takes, on average, to fix something once there’s a problem
or even an outage. What’s great about this metric is that it doesn’t
count how many outages happened. It focuses on how long the problem
persisted for. Why? Because that’s what your users really care about.
That’s just one example of the other indicators you need to watch.
The goal of the growth metric isn’t to replace all your other metrics. You
should absolutely use all the information you can to manage your teams
and move the business forward. A good growth metric, however, will
let you and your teams focus on moving what really matters—a metric
that, when you improve it, will move all the other critical metrics in the
right direction.
of flights booked. When their quality teams look through bugs and other
identified issues, they rank them according to how they affect conversion
to a flight booking. Their whole outlook is now focused on becoming a
conversion-led company, which trickles down to their quality team.
By asking these questions the team are able to connect the work they do
to a core business metric; they can accurately communicate, to them-
selves, their colleagues, and managers, just how valuable their efforts
are.
Then the teams crunch the numbers to estimate how much a given
task would positively affect those numbers. Once they implement the
change, they monitor to see if it actually moved the metric as expected
or not.
This allows the quality teams to connect the work they do to a core
business metric; they can accurately communicate, to themselves, their
colleagues, and managers, just how valuable their efforts are.
The second thing your growth metric can do is increase cross-
functional teamwork, as Sean Ellis, the godfather of growth hacking,
witnessed. When Sean was the VP of Marketing at LogMeIn, they
discovered that 95% of new LogMeIn signups never once used the
ALIGN YOUR TEAM TO YOUR COMPANY GROWTH METRIC 91
as Oppo, ZTE, and Vivo. In Seoul, he noted that the online payment
process was more complex than he was accustomed to. Researching
further, he discovered that the South Korean government had passed
a law in 1999 that meant that online payments could only be completed
through an old version of Internet Explorer with ActiveX enabled (a
predecessor to Microsoft’s Edge browser).66
In Japan, the messaging apps were designed differently, using manga-
style icons and stickers in place of the cartoon-like ones Dmitry was
accustomed to in the West. Throughout the region, instead of sleek,
minimal-design web pages with functionality discreetly hidden away,
they were busy and displayed an array of options up front.
These trips gave Dmitry a new perspective on Airbnb customers: his
team did not build and test things for a single, homogenous market,
but rather a fast-expanding global market comprising multiple user
personas.
If your team is now focused on moving toward a growth metric,
you’ll begin to notice that thinking from a customer’s viewpoint
becomes more and more important. That’s because your growth metric
represents the moment the customer receives value from your product.
When your company is growing globally, it becomes more difficult to
understand how users are experiencing your product. Your team needs
to understand a more nuanced user persona called a “local persona.”
Once your team has identified each user’s device, OS, and location,
they can begin to work out how to test in an environment as close to the
persona as possible.
building the product for the right person. They create broad personas
like Owner Ollie, Marketing Mary, and Enterprise Erin67 to outline the
identity of their average customer.
Once these personas have been created, it’s tempting to use them
across the entire company. For engineering and quality teams, however,
your real users’ experiences are more diverse and complex than these
simplified personas.
Every device, every operating system, and every location creates a
new experience for how your customer uses your app...and when a new
user opens it for the first time, they expect it to work perfectly for them.
When GoDaddy’s Chief Platform and Globalization Officer, James
Carroll, faced the task of successfully launching into 125 countries in
three years, he quickly realized that the only way to reach the kind of
growth he needed was to tailor the business to suit the local market:
“You have to really show up as local. In every single touchpoint of
your experience with a company. You have to offer locally relevant
products.”68
The more diverse (geographically and by device type) your user base
is, the more important it is to be able to localize your testing to ensure
your product works for each of your local personas.
But how does this knowledge accelerate growth?
value the customers get from the product so they spend more, the aim
is to make sure you’re not filling a leaking bucket.
The second area to look at is new customer acquisition, focusing on the
onboarding experience and getting users to your “aha” moment—where
they really understand the value of the product—as fast as possible.
For both areas, the concept of local personas can be useful for thinking
about how you approach testing to move a growth metric.
How can you make the whole process as repeatable and scalable as
the rest of your testing infrastructure?
How can you optimize the feedback loop between needing informa-
tion about a local persona and having it ready for your team to use?
Which environments (staging/production) make the most sense for
you to be testing in?
These questions will help give you a clearer idea as to which approach
you need. Potential ideas include sending your team to the location to
test, using your existing users, or working with an external partner.
get this right, it’s important that you build a community around your
beta users.
Google Maps have done a fantastic job of recruiting users and
developing a community to help them check and improve the product
locally. These volunteers proudly provide their time to enhance the
local Google Maps experience.70 Known as “Local Guides,” they
do everything from updating street changes to tagging wheelchair-
accessible cafés.
Local Guides who have reached Level 5 and above—according to the
internal scoring system—also get access to pre-release features, such
as AR navigation, to test and report any bugs or issues they find along
the way.71
Given the right training, support, and coordination, beta users can
help test your product and provide local knowledge that would be
hard to come by otherwise. However, the drawback comes from the
overhead of managing the community, as well as the fact that your users
are volunteers who may not have the time or the technical background
to ensure they are providing you with crash logs and clear steps to
reproduce when you need them.
* To find out more about how we look at being a long-term partner, check out www.globalapptesting.com.
DRIVING GROWTH WITH LOCAL PERSONAS 101
could be excited about the picture he painted of the future, his team
could get excited, too.
He gathered his people together and laid out what he envisioned
happening within the following three years:
We have ten “franchise authors” whose new books sell at least
100,000 copies in the first 12 months.
We have ten “emerging authors” whose new books sell at least 50,000
copies in the first 12 months.
Authors are soliciting other authors on our behalf because they are so
excited to be working with us.
We place at least four books a year on the New York Times bestseller
list.
Our employees consistently “max out” their bonus plans.
and evaluate the multiple paths you can choose that define your strategy.
mile every day in a way that would ensure his vision came true.
To set your personal vision, take some time to write down your ideal
future. If you could go forward one, three, or ten years from now, what
would your life look like?
By thinking with the end in mind, it not only becomes clearer what choices
you have to make today, but also makes you better at communicating
your intentions to others and gives you extra motivation to push when
things get hard.
The answers to these questions become the vision for your department,
which you should share and communicate with your team.
Once you have a clear vision for yourself and your department, one
that ties into the company’s future, you can move onto the second step
of assessing your starting point.
every few years, making it difficult to plan past one to two years at a department level.
LEADING QUALITY STRATEGY 107
This information will be used later to ensure that you’re doing the right
type of testing for each stage.
your team in a room and map out your own process. For a more detailed
walkthrough on how to do this, check out Ashley’s slides and materials
at lqbook.co/ashley.
Strategy: it’s like being dropped in the middle of the ocean with your team.
There’s fog all around you. With limited resources, you must come up with a
plan to find your way to The Island, a vague place you’ve never been. If you’re
not confused while doing the process, you’re probably not doing it right.
No matter how many times you’ve done it, working out your strategy is
hard. It involves thinking, really thinking. There are many questions to
answer when it comes to defining your QA strategy and the best way to
do it is to get the maximum number of brains on the problems.
Share the assessment information you created in the previous stage
with everyone who will be involved in the strategy conversation. Give
them time to prepare and do their own research before the discussion.
Here are a few questions you might want to discuss:*
Testing Questions
What testing types make the most sense for our product’s
current stage?
How can we optimize the feedback loops of our testing so that
our engineers get the most value from them?
How can we test closer to the environments of our local
personas?
Value Questions
What can we do to help move the company growth metric?
Once you are confident in your strategy, you may realize that you require
more resources than originally planned. When articulating back to the
management team, remember to use the Value Narrative from Chapter
2, i.e., presenting the revenue potential, savings, and risk mitigation. To
make an even stronger case, make sure you use the methods of influ-
ence that we outlined in Chapter 3.
Be Ready to Adapt
After you’ve clarified your vision and understand where you are and
how to get there with the resources you have, you’ll be truly ready to
lead quality in your company.
LEADING QUALITY STRATEGY 111
[email protected]
[email protected]
We look forward to hearing how this book has helped you and how
you’re helping others create better digital experiences for the world.
BONUS CHAPTER:
THE FUTURE –
AUTONOMOUS TESTING
A book about leading quality wouldn’t be complete without taking a look
at what the future holds. We believe that in the future, the QA industry
will be heavily influenced by autonomous testing. The path toward
autonomous testing involves reducing the effort and uncertainty of
manual intervention in the QA process.
But how do we get there, and what effect will it have on the world of
QA and software development? We have written a bonus chapter that
examines what the future of test creation, maintenance, and execution
looks like.
lqbook.co/resources
KEY RESOURCES 117
RESOURCES BY CHAPTER
RECOMMENDED BLOGS/INFLUENCERS
Rich Archbold - https://www.intercom.com/blog/
Dan Ashby - https://danashby.co.uk
James Bach - https://www.satisfice.com
Michael Bolton - https://www.developsense.com
Katrina Clokie - http://katrinatester.blogspot.com
Sean Ellis - https://growthhackers.com
Ashley Hunsberger - https://github.com/ahunsberger
Steve Janaway - http://stephenjanaway.co.uk
Will Larson - https://lethain.com
Edmond Lau - http://www.effectiveengineer.com/blog
Michael Lopp - https://randsinrepose.com/
Matt Newkirk - https://mattnewkirk.com/
ABOUT THE AUTHORS
Ronald Cummings-John and Owais Peer are the cofounders of Global
App Testing (www.globalapptesting.com). Focusing on autonomous
testing augmented with humans, Global App Testing allows teams to
test in over 105 countries with 25,000 vetted professionals using real
devices in real environments. This enables the company’s customers to
deliver high-quality products with minimal testing effort.
Hundreds of leading brands rely on Global App Testing’s impact-first
approach to quality, allowing Agile and DevOps teams to release faster
and more often. Global App Testing was selected as one of the UK’s
fastest-growing technology companies.
Ronald and Owais have gained worldwide recognition for
innovations in the testing field—most notably inventing Testathon®
(www.testathon.co). Testathon® are hackathons for testers, which have
been run in over 50 countries with leading tech teams from the likes of
King, Spotify, and Instagram.
Both Ronald and Owais are highly sought-after speakers and advisors
on QA and entrepreneurship. To book them for guest appearances on a
podcast or to speak at your event,
contact [email protected].
ACKNOWLEDGEMENTS
“If I have seen further than others, it is by standing upon the
shoulders of giants.”
Sir Isaac Newton
1 “Sukarno, Suharto, Megawati: Why Do Some Indonesians Have Only One Name?”
International Business Times, September 19, 2013, https://www.ibtimes.com/sukarno-
suharto-megawati-why-do-some-indonesians-have-only-one-name-1408204.
3 Amazon’s “Annual Letter to Shareholders 2018,” SEC, April 18, 2018, https://www.
sec.gov/Archives/edgar/data/1018724/000119312518121161/d456916dex991.htm
7 Ibid.
9 “Up to 300k NHS Heart Patients May Have Been Given Wrong Drugs,” Health
Medicine Network, May 11, 2016, http://healthmedicinet.com/i2/up-to-300k-nhs-
heart-patients-may-have-been-given-wrong-drugs.
11 “Bad Data and New IT System Bugs Help Knock Off 66% Off Provident Financial
Share Price,” The Register, August 23, 2017, https://www.theregister.co.uk/2017/08/23/
provident_financial_software_woes_share_price_crash.
15 “Snapchat has a huge problem with Android, and it’s causing investors to
worry,”Business Insider, February 21, 2017, https://www.businessinsider.com/
snapchat-huge-problem-with-android-causing-investors-to-worry-2017-
2?r=US&IR=T.
2012, https://a16z.com/2012/01/19/the-freaky-friday-management-technique.
20 “How Designers and Developers Can Pair Together to Create Better Products,”
Medium, June 22, 2017. https://medium.com/product-labs/how-designers-and-
developers-can-pair-together-to-create-better-products-e4b09e3ca096.
23 This is Robert B. Cialdini’s sixth principle of influence. His book Influence is a great
read to understand the psychology of persuasion.
26 “Edward Bernays, ‘Father of Public Relations’ and Leader in Opinion Making, Dies at
103,” New York Times, March 10, 1995: http://movies2.nytimes.com/books/98/08/16/
specials/bernays-obit.html.
27 By Life magazine, as reported here: “American Decades of the 20th Century: Life
Magazine Lists 20th Century’s Most Influential Americans,” Timberlane, October
25, 2018, https://libguides.timberlane.net/c.php?g=464885&p=3192709.
29 The model used in this book has been edited and simplified from the one Dan
originally shared during a conversation with the authors. The original version
that Dan shared can be found on his website, “Information, and its relationship
with testing and checking,” Dan Ashby, March 8, 2016, https://danashby.
co.uk/2016/03/08/information-and-its-relationship-with-testing-and-checking.
Dan’s framework has its foundation in Michael Bolton and James Bach’s work
titled “A Context-Driven Approach to Automation in Testing” (https://www.
satisfice.com/download/a-context-driven-approach-to-automation-in-testing).
In this book, the terms “Investigating” and “Verifying” have been used instead of
the original “testing” and “checking.”
32 “Why Product Owners Should Care About Quality” Roman Pichler, April8, 2010,
https://www.romanpichler.com/blog/why-product-owners-should-care-about-
quality/.
36 “Google Maps: 1 Billion Monthly Users,” GPS Business News, July 17, 2014,
https://gpsbusinessnews.com/Google-Maps-1-Billion-Monthly-Users_a4964.html.
37 “The Rise and Fall of Knight Capital — Buy High, Sell Low. Rinse and Repeat.”
Medium, August 5, 2018, https://hackernoon.com/the-rise-and-fall-of-knight-capital-
buy-high-sell-low-rinse-and-repeat-ae17fae780f6.
39 You can see Ashley’s example in the YouTube video of her talk “Transform Culture
Using DevOps Principles:”
https://www.youtube.com/watch?v=RBrAj9jKgX0&t=1627s.
40 Capers Jones, Applied Software Measurement; Marco Morana, “Building Security into
the Software Life Cycle.”
41 There is a lot of debate around the measurement of the costs in this study. For an
excellent read, see The Leprechauns of Software Engineering by Laurent Bossavit.
42 Ibid.
43 See Dan Ashby’s great article titled “Continuous Testing in DevOps.” Dan Ashby,
October 19, 2016, https://danashby.co.uk/2016/10/19/continuous-testing-in-devops.
49 Ibid.
51 “Testing in Production, the safe way,” Medium, March 25, 2018, https://medium.
com/@copyconstruct/testing-in-production-the-safe-way-18ca102d0ef1.
57 To find out more about OKRs, read Measure What Matters by John Doerr.
58 "Social Media Fact Sheet” Pew Research Center, June 12, 2019, https://www.
pewinternet.org/fact-sheet/social-media/
59 “Every Product Needs a North Star Metric: Here’s How to Find Yours,” Amplitude,
March 21, 2018, https://amplitude.com/blog/2018/03/21/product-north-star-metric.
62 “From 0 to $1B – Slack’s Founder Shares Their Epic Launch Strategy,” First Round,
https://firstround.com/review/From-0-to-1B-Slacks-Founder-Shares-Their-Epic-
Launch-Strategy.
63 To understand more about creating growth metrics, I’d advise you to look at Sean
Ellis’ work on what he calls “North Star Metrics,” Medium, June 5, 2017, https://blog.
growthhackers.com/what-is-a-north-star-metric-b31a8512923f.
64 “Sean Ellis on charting a path toward sustainable growth,” Intercom, June 7, 2018,
https://www.intercom.com/blog/podcasts/sean-ellis-growth.
66 “South Korea’s Online Banking System Is Stuck in 1996,” Forbes, November 30,
130 LEADING QUALITY
2016, https://www.forbes.com/sites/elaineramirez/2016/11/30/south-koreas-online-
banking-system-is-stuck-in-1996/#53648374527c.
69 “The Inside Story on How SurveyMonkey Cracked the International Market,” First
Round, https://firstround.com/review/the-inside-story-on-how-surveymonkey-
cracked-the-international-market.
70 “Why millions of people are helping Google build the most accurate Maps in the
world,” Business Insider, September 14, 2016, http://uk.businessinsider.com/google-
maps-local-guides-2016-9.
72 “Why Vision is More Important than Strategy,” Michael Hyatt, January 23, 2012,
https://michaelhyatt.com/why-vision-is-more-important-than-strategy.
73 Ibid.
B culture problems, 19
B2B (business-to-business), 54, 88, 92 quality culture, 20, 31, 44, 62
B2C (business-to-consumer), 78, 87, 92 team, 43
Bangser, Abby, 68 Customer:
Bebo, 52 acquisition, 93- 94, 107
Benchmark, 53 - 54, 97 empathy, 98
Bernays, Edward, 43 issues, 13 see also: 3Cs
Beta users, 55, 98 - 99 expectations, 54 - 58
Blackboard, 60 - 67 see also: Hunsberger, Ashley support, 34, 73, 91, 93
Blasse, Nikkel, 35
Bloom & Wild, 56
Bottleneck, 12, 41, 107 D
Bug: DAU (Daily Active Users), 87, 90
continuous deployment, 11 - 14 Data:
continuous testing, 63, 68 external, 37
customer experience, 42, 55 growth metrics, 85
growth metric, 83 - 84, 90 internal, 36, 74, 96
localization, 1 - 4, 99 user, 73
zero bugs, 82 Delivery pipeline, 71
Buffett, Warren, 24 Designers, 22, 35
Business: DevOps, 45, 61, 64
growth, 3 - 5, 91 Development velocity, 41
metric, 83 - 84, 90 DeviceAtlas, 97
outcomes, 16, 84 Diverse:
user experience, 95
viewpoints when achieving
C alignment, 34
Canary release, 77 Dogfooding, 54, 77
Cancel, David, 22 Dr. Sigmund Freud, 43
Candy Crush, 53
Code:
codebase, 14, 56, 59 - 62, 85
continuous delivery, 72 - 79
development, 11, 54 - 56, 62, 85
exploratory testing techniques, 35
feedback loops, 65
testing, 36 - 37
legacy software, 58
Cohen, Jason, 19
Communication, 5, 35, 54, 7, 85
Company growth metric, 82- 92
Company issues, 13 see also: 3Cs
Continuous integration, 62, 72
Continuous testing:
definition, 63
development cycle, 64
feedback loops, 61 - 70
Core metric, 25, 76, 82 - 88
Cross-functional teamwork, 22, 85, 90
Crowdsourced testing, 57, 68, 99
Culture:
INDEX 133
E attention-based, 87, 92
eBay, 45 see also: Dan Ashby choosing your growth metric, 87
E-commerce, 88, 104 company growth metric, 25
EVRYTHNG, 71, 79 see also: Charles Adeeko core metric, 76, 82 - 83, 88,
Early adopters, 52, 54 transaction-based, 88, 92, 108
Ellis, Sean, 90 productivity-based, 88, 92, 108
Empathy engineering, 93 Grove, Andy, 85
Engineering: 40, 58 - 60, 130
culture, 30
empathy, 93 H
leaders, 19 HelloFresh, 85 - 86
sales, 34 Hendrickson, Elisabeth, 65
Environment: Hill, Napoleon, 111
company culture, 14 Horowitz, Ben, 34
development, 24 How to Test Narrative, 23 - 29
testing, 73 - 75, 94, 97 - 100 HubSpot, 22
Etsy, 30 - 31 see also: Arylee McSweaney Hunsberger, Ashley, 61
Existing users, 57, 98 Hyatt, Michael, 103
Expansion, 96, 108
Exploratory testing, 35, 44 - 47, 55 - 56, 66
External evidence, 37 I
IBM, 48
iHeartMedia, 55
F Impact-driven methodology, 74
Feathers, Michael, 59 Indonesia, 1 - 2, 25
Features: Indus OS, 96
delivering, 71 Influence:
developing new, 14, 33, 42, 56, 79, 82, 93 - 95 audience, 32
reworking, 26, 74 persuade, 38, 44, 109figt
Feedback Loop: quality narrative, 32
automation, 49 Infrastructure:
explanation, 64 automation, 43
improving, 61, 67 - 68, 110figt costs, 26, 37, 79
infrastructure, 98 development, 85, 105
Functional testing, 1 feedback loops, 67 - 69
predictability, 52, 55 - 60
QA, 53
G testing, 71 - 80, 98
Github, 79 see also: Meaghan Lewis Innovators, 52
Global: Instagram, 21
growth, 1, 13, 94 Intel, 85
market, 94 Internal:
Global App Testing, 4, 51 analytics, 96
Goble, Sally, 76 communication, 22, 35, 85, 90
GoDaddy, 95 company culture, 20, 31, 43 - 44, 62
Google: data, 36, 74, 96
analytics, 96 dogfooding, 54, 77
maps, 57 - 58, 99 evidence, 36-37
play, 21 Internet Explorer, 94
Growth hacking, 90
Growth metric:
134 LEADING QUALITY
J testing vendors, 44
Janaway, Steve, 56 Marketing, 90 - 95
Jira, 35 Match.com, 54
Jobs, Steve, 11, 93 Maxim, Mike, 78
Jones, Capers, 63 McSweaney, Arylee, 30 see also: Etsy
Jones, Mike, 15, 86 Medium, 77
Microsoft, 4, 74, 94
Monitoring:
K continuous testing, 73
Kagen, Noah, 86 impact on users, 73 - 79
Kaizen, 11 symptom-based, 73 - 75
King, 53 Motivation, 14, 32, 39, 85, 105
Kim, Gene, 64 MySpace, 52
Knight Capital, 58
Kosak, Lou, 36
KPIs (Key Performance Indicator), 16 N
National Health Service, 13
Nelson Books, 102
L Netflix, 87- 88
Laggards, 52 - 53
Late majority, 52
Lau, Edmond, 72 see also: The Effective Engi- O
neer OKCupid, 78
Lead quality, 5 - 8, 39, 91, 103, 111 OKRs (Objectives and Key Results), 85 - 86
Leadership team, 33, 86 Onboarding experience, 96
Lean principles, 11 OpenSignal, 97
Legacy software, 58 Outcome-led metric, 83, 91
Lewis, Meaghan, 78 Ownership narrative, 20 - 29, 71, 83, 107
Lineage OS, 97
Local:
experience, 97 P
guides, 99 Patel, Shesh, 33
persona, 93 - 98, 108 Personal vision, 104 - 106
testing, 1, 94 - 98, 108 Pink, Daniel, 31
Location: Pivotal Labs, 35, 65
customer experience, 95 Poor quality, 13 - 18
devices, 57 Predictability, 52, 55, 57, 60, 107
testing, 94 - 98, 108 Procter & Gamble, 33
LogMeIn, 90 Product:
Lyft, 88 management, 85
market fit, 52 - 60
maturity, 24, 51, 53, 58, 107
M Productivity-based growth metric, 88, 92, 108
MOO: 68 Provident Financial, 14
MTTR (Mean Time to Recover), 89 Public relations, 43
Manual testing, 41 - 50, 55
Market:
global, 94, 97
local, 95, 99
marketplaces, 65, 88
product market fit, 11, 53, 107
INDEX 135
Q T
Quality: TQM (Total Quality Management), 11
advocates, 38 Teams, 21
assurance, 84 cross-functional relationships, 85 - 86
bottleneck, 41 ownership narrative, 21, 22
narrative, 19, 27 - 29 quality, 30, 42
standards, 10 Team Skill and Capacity, 110figt
strategy, 7 - 8, 102 - 111 Teamwork, 90
Quality Narrative: Test strategies, 85
the ‘how to test’ narrative, 23 - 29 Testing:
the ownership narrative, 20 - 29, 71, 83, 107 A/B Testing, 85
the value narrative, 20, 24, 29, 110 acceptance testing, 66figt
Quora, 72 automation, 30, 48, 54 - 57, 63
automation UI, 71
code testing, 36 - 37
R crowdsourced testing, 57, 68, 99
ROI (Return On Investment), 20, 25, 29 exploratory testing, 35, 44 - 47, 55 - 56, 66
Reddit, 4, 21 functional, 1
Reeves, Martin, 23 infrastructure, 71 - 80, 98
Regression testing, 57 local, 1, 94 - 98, 108
Retention, 26, 91, 96, 108 manual, 41 - 50, 55
Revenue potential, 25 - 27, 110 regression, 57
Richards, Vernon, 45 Testing in production, 70 - 78
Ries, Eric, 83 The Effective Engineer (Lau), 72
Risk-based analysis, 85 The Freaky Friday Management Technique, 34
Risk mitigation, 27 The Guardian, 75 - 79
The Lean Startup (Ries), 83
The New York Times, 33, 103
S The Phoenix Project, 64
Sakharov, Ilya, 85 - 86 Thomas Nelson publishing, 102
Sauce Labs, 12, 68 Ticketmaster, 73 - 74
Scalable, 53, 98 Tinder, 54
Sinek, Simon, 104 Tizen OS, 97
Slack, 74, 88 - 89 To Sell is Human (Pink), 31
Snapchat, 21 Transaction-based growth metrics, 88, 92, 108
Social networks, 35, 52 Twitter, 34
Social media, 21, 52
Software development cycle, 63
Software development, 6, 24, 31, 63 U
Spiegel, Evan, 21 UI automation, 71
Spotify, 38 Uber, 58, 88
Sridharan, Cindy, 77 Unit test, 23 - 25, 54, 58, 66
Stack Overflow, 34 User experience, 22, 42, 55
Stakeholder feedback, 38 User persona, 94
Starbucks, 58 uSwitch, 15 - 16, 86
Startup, 3 - 4, 15, 51, 82
Support function, 83 - 84
SurveyMonkey, 97
136 LEADING QUALITY
V
Validation, 31, 52 - 59, 60, 107
Value narrative, 20, 24, 29, 110
Vanity metrics, 83
Verifying, 46 - 47
Virtual reality, 82
Vision:
company, 102- 106
department, 106
personal, 104 - 106
Vivo, 94
W
Walter, Andy, 33
Waterfall, 61
WP Engine, 19
Wizz Air, 90
Working Effectively with Legacy Code
(Feathers), 59
Z
Zero bugs, 82 - 83
ZTE, 94
Zynga, 34