The State of Quality 2022
The State of Quality 2022
The State of Quality 2022
Quality Report
2022
TABLE OF Executive Summary
Quality at Speed: Quality Assurance Techniques and Challenges
CONTENTS Common testing techniques
The most widely used QA techniques being the most effective ones
Test Automation
The continued decline in open-source frameworks and tools' popularity
Demographics
In today’s rapidly changing world, organizations have to look both inward and outward
for improvements in their software quality (QA) practices. They need to collect and analyze
information and data generated from their practices to determine their weaknesses and
strengths in delivering software quality at speed. At the same time, they have to keep updated
on the current status and trends of their respective industries.
Understanding how data analytics can assist software teams, since 2018 we have worked with
our partners to conduct annual studies to discover and report insights into the current state of
software quality. These annual reports also offer recommendations on what areas and how
software teams can improve their QA practices and processes.
From this year's report, we learned that a vast majority of software professionals consider test
automation the most effective QA technique. However, with only half of them applying test
automation to their projects, teams are likely to experience difficulties when implementing
this technique.
CotyCTORosenblath
at Katalon, Inc.
Frequent requirement changes and the lack of time are the main challenges to adopting test
automation and ensuring quality. Still, we see more testing activities using automation.
Besides regression testing, teams today use automation tools to analyze test results, generate
test data, perform performance tests, and other time-consuming activities.
The survey also shows that, despite the great potential of artificial intelligence, AI for test
automation is still in its initial stages. Teams are more concerned with employing QA practices
and tools effectively rather than improving the application of AI to their projects.
”
At Katalon, our mission is to help teams deliver better software faster. Our test automation
platforms allow easy automation of necessary but time-consuming activities, such as test
generation and execution. We also incorporate advanced AI capabilities in our products, so
that teams can improve the effectiveness of test automation.
Executive
Summary
In today’s rapidly changing world, organizations have to look both inward
and outward for improvements in their software quality (QA) practices.
They need to collect and analyze information and data generated from
their practices to determine their weaknesses and strengths in delivering
software quality at speed. At the same time, they must look for the
current status and trends of their respective industries.
Findings
1. Although it is the most popular QA technique, 2. Monitoring and testing in production
automated system testing is not as widely used as emerged as an answer for balancing
people would expect.
between quality and speed.
Software teams today employ a combination of QA techniques To achieve quality at speed, teams need to find the right
during software development. Apart from manual testing, balance between ensuring the quality of software and
which is performed by virtually all software teams, automated reducing the time needed to perform QA activities. They
system testing is the most widely used technique among all 11 cannot sacrifice valuable time to make error-free software.
techniques surveyed.
fact that it has become crucial for Agile and DevOps practices.
This finding suggests that software teams embrace the
possibility of errors in production and use the technique as
a way to strike a balance between quality and speed.
65%
automation difficult as teams have to spend time revising
their automation tests to reflect the changes. With a lack of
Test automation time, teams tend to perform ad hoc manual testing instead
54%
of investing resources in more effective QA techniques such
as test automation.
Code review/inspection
< 50%
Higher ROI is achieved when organizations of respondents use
provide sufficient training, choose the right some AI capabilities for
tools and tasks to automate, and demonstrate their test automation.
persistence in applying tools.
Quality Assurance
Techniques and Challenges
There are many QA techniques that a software team can apply during the
development life cycle. They include, for example, manual testing, automated testing,
code review, code analysis, test-driven development, and pair programming. As these
techniques are different in terms of the application context and effectiveness, using
the right techniques is crucial for the success of achieving quality at speed.
When it comes to ensuring the quality of the application, code review and
automation testing play a major role. Because doing effective code review itself can
ensure whether both functional and non-functional requirements are effectively met.
In addition to implementing automation for smoke, sanity, and regression,
organizations can save a lot of time in terms of quality build delivery.
Quality at Speed: Quality Assurance Techniques and Challenges The State of Quality Report 2022 | 11
Which QA techniques does your team apply during development?
Automated testing
Code review/inspection
41%
(Artifact Review)
Model-driven development
20%
(including Model-based testing)
We omitted manual testing from the answers as it is presumably a QA technique performed by all software teams. If including automated unit
testing, 63% of respondents reported applying test automation in their projects. Besides these techniques, other widely used QA techniques
include test-driven development (32%), coding guidelines (30%), behavior-driven development (28%), and static software analysis (28%).
Q u a l i t y a t S p e e d : Q u a l i t y A s s u r a n c e Te c h n i q u e s a n d C h a l l e n g e s T h e S t a te o f Quality R e p o r t 2022 | 12
Surprisingly, monitoring and testing in production is
the third most popular QA technique used by 38%
of respondents. It is an emerging technique that
involves monitoring and testing software in real
environments with real users and real data.
more teams adopt these practices. To speed up testing and production environments, teams have
time to market, teams test their software builds to perform monitoring and testing in production.
Still, these environments cannot fully replicate the teams speed up the release of software builds and
true production environment in which users, data, continue testing them in production rather than
and usage scenarios are real. trying to produce perfect and error-free builds.
Quality at Speed: Quality Assurance Techniques and Challenges The State of Quality Report 2022 | 13
The need to deliver quality software at speed has created
Automated testing
development lifecycle.
Automated unit testing
1
Our correlation analysis revealed that there are strong
3 Coding guidelines
4 in production
Q u a l i t y a t S p e e d : Q u a l i t y A s s u r a n c e Te c h n i q u e s a n d C h a l l e n g e s The St a te of Q ua l i t y Re p or t 2 02 2 | 14
Two-thirds of respondents who performed
automated unit testing also applied automation Recommendations:
in integration, system, and acceptance testing.
61%
of those using code pre-production testing. At the same time, teams
review also applied
can build mechanisms to recover software from
automated testing.
failure, making the practice of discovery and
recovery from failure an important part of DevOps.
Quality at Speed: Quality Assurance Techniques and Challenges The State of Quality Report 2022 | 15
The most widely used QA techniques
favorably than those who do not use it. For example, only 17%
65% is also the most effective one. of users of the technique identified it as the most effective.
50% production and automated unit testing. to be effective for your projects.
Q u a l i t y a t S p e e d : Q u a l i t y A s s u r a n c e Te c h n i q u e s a n d C h a l l e n g e s The St a te of Q ua l i t y Re p or t 2 02 2 | 16
Most Effective Techniques
Automated testing
65%
(integration, system, and acceptance
Code review/inspection
54%
(Artifact Review)
Q u a l i t y a t S p e e d : Q u a l i t y A s s u r a n c e Te c h n i q u e s a n d C h a l l e n g e s T h e S t a te o f Q u a l i t y R e p o r t 2 0 2 2 | 1 7
QA teams and challenges in high software quality
46% Frequent
requirement
39%
changes Lack of time
Frequent changes in requirements force teams to revise their When the team lacks time, they are unable to invest
tests for regression testing, which reduces the effectiveness of resources upfront for test automation, and instead resort
regression testing that is usually applied during automation. to manual testing. With the lack of automation, it
They also have to perform more manual testing instead, which becomes more challenging to pursue short and rapid
slows down the process of testing and delivery overall.
Quality at Speed: Quality Assurance Techniques and Challenges The State of Quality Report 2022 | 19
Level of satisfaction in software quality,
The level of satisfaction related to software quality upon Despite challenges in delivering high-quality software, most of the
delivery is probably one of the most important measures of surveyed individuals are satisfied with their software quality. An
success for software teams. Our survey asked respondents overwhelming 78% of respondents rated their software quality
to offer their perceived levels of satisfaction with software upon delivery as good or better while just 7% and 14% of them
quality upon delivery, QA practices, and tools. reported poor and fair software quality upon delivery, respectively.
37%
32%
Q u a l i t y a t S p e e d : Q u a l i t y A s s u r a n c e Te c h n i q u e s a n d C h a l l e n g e s The St a te of Q ua l i t y Re p or t 2 02 2 | 20
However, when asked whether they were satisfied with Roughly 20% and 22% of them were not satisfied with the
the QA practices and tools used for their projects, their QA practices and tools used for their projects, respectively.
satisfaction levels are not equally high compared to Many participants in our follow-up interviews noted that
those of software quality. About half of the they were not very happy with automation tools and had to
respondents said they were either satisfied or very rely on manual testing instead.
27%
14%
6% 8%
Not at all
Not satisfied Neither satisfied
Satisfied Very satisfied
satisfied nor dissatisfied
Quality at Speed: Quality Assurance Techniques and Challenges The State of Quality Report 2022 | 21
These results showed that while people are happy ...but they look forward to improving their practices
with their software quality upon delivery, they expect and using better tools in the long run. “We are satisfied
more from their QA practices and tools. At present, with the QA practices and tools used in our projects,”
they can overcome limitations in QA practices and said one interviewee, “but in a highly competitive
tools to deliver high-quality software...
market, tools with AI technology integrated seem to
be the right approach for the future.”
28%
15%
7% 7%
Not at all
Not satisfied Neither satisfied
Satisfied Very satisfied
satisfied nor dissatisfied
Quality at Speed: Quality Assurance Techniques and Challenges The State of Quality Report 2022 | 22
Test Automation
Test automation is reported in this study as the most widely used and
effective QA technique. It is essential for achieving quality at speed in
today’s software development with Agile and DevOps methodologies.
Ron Powell
CircleCI
A successful application of test automation has to start Selenium continues to be the most popular automation tool,
with choosing the right set of tools. There is a wide which is used by 37% of respondents. Yet, its popularity has
variety of test automation tools that software teams can declined sharply over the last four years, going from 86% in
choose from, ranging from open source to commercial 2018 to 54% in 2020 in our previous surveys.
based on Selenium such as Katalon and Perfecto have frameworks using open source solutions for test automation
become more powerful to eliminate the need of building is good news for the software community as they would
This survey also found Postman as a popular alternative what really matters – automated testing.
37%
What automation tools/
32%
21% 21%
18% 18%
16%
15%
Te s t A u t o m a t i o n The St a te of Q ua l i t y Re p or t 2 02 2 | 26
The race to adopt test automation
The two most common challenges in applying test Indeed, the top five challenges remain the same as
automation are the lack of skills and experience in tools our previous survey results except that this year's
(37%) and frequently changing requirements (36%). This study shows an increase in the level of the challenge
finding is the same as our survey reported in 2020. QA related to script maintenance (32% and ranked 4th)
practices and tools have changed much over the years, but compared with the finding in 2020 where the
37%
36%
Te s t A u t o m a t i o n The St a te of Q ua l i t y Re p or t 2 02 2 | 29
The most common challenges that your team
has when using test automation tools?
The tool offerings don’t match the team’s testing needs 22%
Others 2%
Te s t A u t o m a t i o n The S t a t e o f Q u a l i t y R e p o r t 2022 | 30
Factors to ensure positive ROI
Despite challenges, the good news is that the return on What is your return on investment (ROI)
investment for test automation is relatively high. Most of test automation for your project?
respondents have seen a positive ROI with the majority of
respondents (63%) reporting to have seen 20% or more of the 38%
The level of ROI depends on a number of factors such as the 21% 21%
6%
5%
(making a loss) time saving) 20% cost or cost or time cost or time (50%+ cost or
time saving) saving) saving) time saving)
Example
A r t i fi c i a l I n t e l l i g e n c e i n Te s t A u t o m a t i o n The St a te of Q ua l i t y Re p or t 2 02 2 | 33
AI for test automation
Scripts
is still in its infancy. 35%
generation
its early stage of application. Our survey showed that less than
has received a lot of attention from the test automation Test data
community in recent years.
32%
generation
tools, about a third use it for automated test cases and scripts
Automated
defect detection
30%
Generating test cases, scripts and data is a crucial process for
Test prioritization
and selection 30%
A r t i fi c i a l I n t e l l i g e n c e i n Te s t A u t o m a t i o n T h e S t a te o f Q u a l i t y R e p o r t 2 0 2 2 | 3 4
There are several reasons
for the low adoption of AI.
still limited and underdeveloped. They are presently used for many interleaved activities of the testing life cycle. Today
simple and easy-to-automate activities such as generating many tools integrate AI to address just a few specific and
simple test cases from requirements using natural language narrow problems, e.g., handling test flakiness using auto-
processing (NLP) and comparing screens using computer healing and reducing script coding via exploring elements on
vision. Complex testing activities such as automated test data the user interface. This lack of comprehensive AI-enabled
creation, assertions generation, and test evaluation require tools requires teams to adopt various tools if they want to use
A r t i fi c i a l I n t e l l i g e n c e i n Te s t A u t o m a t i o n T h e S t a te o f Q u a l i t y R e p o r t 2 0 2 2 | 3 5
Trends in AI for test automation
Although receiving a low level of adoption today, AI has a lot to offer
for test automation to support a wide range of testing activities.
Test Planning and Management 2. Test Generation and Maintenance 3. Test Selection and Optimization
35%
32%
30% 30%
24% 24% 23%
Automated test Automated test Automated defect Test prioritization Intelligent Automated defect Intelligent test
cases and script data generation detection and selection software analysis correction reporting
generation
they planned to improve and what quality goals they would high-priority action for many teams to address the
pursue in the coming year, finding that the increase in challenges in automation-related practices and tools
adoption of test automation continues to be a trend as that remain. Teams need to cope with the lack of skills
more than 60% of respondents said they are likely/very and resources for automation and find ways to
likely to improve their adoption of automation (automated overcome the problems caused by frequently
unit testing, automated test case/data generation, and test changing requirements.
5%
Improve QA Increase Increase test Improve code Reduce Improve the Others
processes and automated coverage quality technical application of AI
practices tests debt approaches
test automation system. In doing so, the firm was able to significantly reduce
“We selected Katalon because it gives us the ROI we wanted and it’s very
stable. Now if our test script fails, we know it’s the AUT’s fault, not the
execute based on a code change, we can selectively execute those that are
The client, a leading technology solutions company for The company needed to streamline and simplify its
clinical trial innovation and evidence, aims to empower its software testing automation so that its engineers could
partners to transform lives by parlaying deep scientific spend less time maintaining scripts and more time
expertise at a global scale into the broadest possible analyzing them to identify problems and more rapidly
10%
clinical trials through technology and having a positive
of their time
writing them.
impact on global healthcare.
90%
As the client began to rapidly scale its test automation of their time
maintaining scripts
pharmaceutical companies.
“We have a system where we deliver studies to the customers, and every
and began using Katalon in 2018 to test web (user interface “Sometimes they worked,
2018
“And the manual testers in my team
Katalon
scripting right away, while still having
Protractor and Selenium itself, the client found that it was too
“But what we found over time was that the always executing a test on a local machine and
maintenance became a nightmare for us,” he said. saying, ‘here it works, there it doesn’ t, and we don’ t
began using Katalon for web and mobile application there was a set of different profiles for their automated
testing. “Everybody was immediately happy with it,” the test scripts to run against.
manager said.
team’s machines.
suites running in tandem with about 150 scripts in total
legacy scripts to migrate to Katalon Studio, their Before, running through hundreds of test scripts, one after
team immediately saw the results they wanted, another, took the firm weeks. As a solution, the firm implemented
to only 15 minutes per script and breaking those that exceed the
let people go - we took on more work with down by at least 60%. Katalon’s AI capabilities such as Self-healing
and Smart Wait help reduce maintenance time and test flakiness.”,
the same team and level of productivity.”
15 mins
“It was very easy to plug test automation into our pipeline, at “Katalon has introduced a lot of features for debugging
any stage, with Katalon,” an engineer said.
of Quality Report 2022.” We hope the report's insights have been helpful to
At Katalon, we always keep a close eye on every slightest change in the test
automation space to see where we can help steer the industry forward. And of
course, this mission is forever incomplete without your comments. Yes, yours.
So why not LEND US YOUR THOUGHTS and win a $30 E-gift card?
Yes, sure
Appendix
Methodology
This study was carried out in two phases. In the first Although we conducted the study by following a
phase, we conducted an online survey of 3,000+ thorough process of designing the questionnaire,
respondents with direct involvement in quality practices choosing audiences, and analyzing the results, we do not
of software development projects.
Half of the participants in this survey worked in Software and Information Technology 50%
sectors. A quarter of participants come from the Telecom, Media, and Entertainment 19%
Banking, Financial Services, and Insurance sector.
The survey also consists of participants from other Government and Public Sector 15%
industries: Healthcare and Life Sciences (20%);
Manufacturing 14%
Telecom, Media, and Entertainment (19%);
Consumer Products, Retail, and Distribution Automotive 13%
(17%); and Government and Public Sector (15%).
Energy and Utilities 13%
Others 4%
the 3,000+ respondents for their time and contribution and our media partner, Xilligence, Testbits, Nihilent,
Katalon is the leading provider of software test automation solutions. The company offers a flexible
platform for web, API, mobile, and desktop testing that fits teams and projects of any size, for any purpose
from test creation, execution, reporting to seamless integration with popular CI/CD systems.
Widely used by a global network of 100K enterprises and 850K users across 160+ countries, Katalon is
high-ranking on trustworthy review sites such as Gartner, Capterra, and IT Central Station. Katalon
solutions include Katalon Studio, Katalon TestOps, Katalon Recorder, Katalon TestCloud and Katalium.
Our products: