The State of Testing in DevOps - 2021 REPORT - Mile High Software Testing ...
←
→
Page content transcription
If your browser does not render page correctly, please read the page content below
A Message From Our Founders When we left Google to start our next company, we spent months The past year brought unprecedented challenges. Software teams interviewing hundreds of software teams about the most significant around the world shifted to hybrid or fully remote while endeavoring to challenges that they face in realizing their goals. We weren’t surprised maintain product velocity and quality. Quality professionals everywhere to find that most teams were focused on accelerating innovation by rose to the challenge as organizations rushed to expand, optimize, and embracing agile and DevOps. But we were shocked by the number of improve their digital experiences. This report shines a light on their teams that pointed to ineffective quality assurance as their primary experiences, how they adapted to pandemic conditions, and worked obstacle. In fact, among our first 100 interviews, none reported that with the rest of their organizations to adopt DevOps, even as customer they were satisfied with their QA efforts. expectations evolved by the day. During those early sessions, we discovered an incredible tension Our research found that DevOps teams are increasingly differentiated between what modern enterprises wanted - rapid innovation and a by quality. Whether it’s a culture of quality that discovers bugs earlier world-class customer experience - and what their software teams were in the development pipeline, less stressful release days, or happier equipped to deliver. Indeed, the pace of development was accelerating customers, the ability to adopt and scale automated testing made as DevOps ushered in powerful automated pipelines, but QA was often a clear impact on the entire organization. In fact, mabl was created sidelined in the adoption process. Instead, quality teams were stuck to support QA teams in this critical role as they develop, scale, and with outmoded manual processes and no viable options to effectively continuously improve their quality strategy, and we see many of the deliver the level of automation required in the DevOps era. trends highlighted in this report among our customers as well. We all recognize that as the experts on software quality and the user This report is designed to take the pulse on testing in DevOps, connecting experience, quality professionals play an essential role in building the testing and quality community to the latest in test automation, CI/CD market-leading products and services. Yet few test automation tools adoption, and the customer experience. We thank the survey respondents, offered the insights, capabilities, and integrations to match the critical our Friends of mabl customer community, and of course, the reader for new role of quality assurance. Quality needs to be integrated into every taking the time to explore the exciting world of quality engineering in 2021. stage of the DevOps pipeline, spurring the push to shift-left testing, and reshaping quality assurance to quality engineering for the entire S I N C E R E LY, product organization. Dan Belcher and Izzy Azeri, mabl co-founders Report • The State of Testing in DevOps • 2021 1
JOB FUNCTION The Respondents 4% 4% 5% Manual Tester / QA Analyst Over 600 professionals responded to our survey, with a 5% 30% Quality Engineer / SDET broad range of quality and software development roles Director / Manager of Quality represented. The majority of respondents were those 5% IT / Operations on the front lines of quality, including manual testers Other 6% and quality analysts (30%), quality engineers or software Quality Architect developers in test (20%), or quality managers and 8% Full-stack Engineer directors (13%). The rest of respondents held various Product / Business Owner roles in product development, software engineering, and 20% 13% Director / VP of Engineering leadership positions. Front-end developer Survey respondents also worked in a variety of professional environments, giving us insight into how quality strategy COMPANY SIZE and DevOps adoption are evolving in organizations of 26% Small business or startup all sizes. The plurality (38%) reported working in large 1-100 EMPLOYEES 38% enterprises with over 1000 employees. Another sizable Medium business contingent (26%) was employed in small businesses 101-500 EMPLOYEES or startups with just one to 100 people. Professionals Medium enterprise 501-1000 EMPLOYEES at midsize organizations with 101 to 500 employees Large enterprise 19% represented 19% of respondents, while those at medium 1000+ EMPLOYEES enterprises with 501 to 1000 employees made up 17% of 17% survey responses. Report • The State of Testing in DevOps • 2021 2
Survey respondents also reported working in a diverse range of fields, Other notable groups (roughly 5% each) include: media and allowing us to gauge quality practices across industries. The largest entertainment, government, retail and consumer goods, as well as group (28%) classified themselves as working in software/technology/ travel and hospitality. hardware, with 18% saying they work in financial services or banking. INDUSTRY 30% 28% 20% 18% 10% 6% 6% 5% 5% 4% 4% 2% 2% 2% 3% 3% 1% 1% 1% 1% 3% 2% 2% 0% Consulting / Services High-tech / Software / Hardware Financial Services / Banking Media / Entertainment Government Retail Consumer Goods Other Travel / Hospitality Communications Manufacturing Transportation Insurance Construction Mining / Oil / Gas Direct-to-consumer Goods NGO / non-profit Healthcare Education Real Estate Agriculture / Forestry Report • The State of Testing in DevOps • 2021 3
The State of DevOps Maturity To set the baseline in DevOps trends, we asked respondents where they DEVOPS TRANSFORMATION PROGRESS are in DevOps adoption. Adoption was relatively evenly distributed, Aspiring Mostly DevOps & Automated with 28% of participants indicating that they’re making strides towards Striding Fully DevOps & Automated DevOps adoption. One-in-four participants reported aspiring to adopt DevOps, but still relying on manual deployments to put updates into None of These production. A similar number (24%) said their team had almost fully adopted DevOps with a mostly automated software development pipeline, and just 11% of respondents reported that they were running full DevOps with complete, or nearly complete, automation implementation in the development pipeline. A notable group (12%) 12% indicated that none of these stages applied to their organizations. 24% The near-even breakdown of DevOps adoption stages allows us to understand the challenges that persist at every level of the DevOps 11% journey, particularly when it comes to test automation and software quality. Those that aspire to adopt DevOps represent the status quo with manual deployments processes and varied development frameworks, while those in the midst of their DevOps journey illustrate the changes and obstacles that need to be overcome to embrace full automation on a DevOps team. On the other end of the scale, fully DevOps teams 24% with completely or primarily automated development pipelines show us 28% how quality and software testing transform under DevOps. Report • The State of Testing in DevOps • 2021 4
Distribution of DevOps Adoption Across Different Sized Companies Interestingly, company and team size had little connection to the In contrast, medium businesses and medium enterprises were stage of DevOps adoption. No single category appears to lead the dominated by those in the middle of DevOps adoption, either pack, though over one-third of small businesses and startups say making strides towards DevOps or already mostly DevOps. Large they aspire to adopt DevOps, compared to 18% that say they’re enterprises with over one thousand employees had a significant making strides towards DevOps adoption and 13% that are mostly number of DevOps aspirants, with one-in-four holding off on starting DevOps. Small organizations with full DevOps adoption followed their DevOps journey. closely at 12 percent. DEVOPS OPTION BY COMPANY SIZE Aspiring Striding Mostly DevOps & Automated Fully Devops & Automated 40% 36% 34% 34% 30% 32% 30% 29% 27% 25% 20% 18% 17% 13% 12% 10% 12% 12% 10% 10% 0% Large Enterprise Medium Enterprise Medium business Small business / startup 1000+ EMPLOYEES 501-1000 EMPLOYEES 101-500 EMPLOYEES 1-100 EMPLOYEES Report • The State of Testing in DevOps • 2021 5
Team size also proved to be a limited factor in predicting the stage of This indicates that DevOps is equally achievable for teams and DevOps adoption. Though the smallest teams (1-5 people) were more organizations of all sizes, with DevOps and automation technologies likely to be in the aspiring stage, progress across the striding, mostly, accessible to the full range of businesses. The low number of early and fully DevOps stages was relatively even, regardless of team size. adopters also means that there’s ample opportunity for those early in their DevOps journey to catch up to the leaders. Even those who The most notable trend is how evenly distributed full DevOps adoption aspire to adopt DevOps, but have yet to begin the process, are still is: regardless of organization size, roughly 10% of respondents on a relatively level playing field when it comes to modernizing their reported being running full DevOps with automated pipelines. software development pipelines. SIZE OF TEAM BY STAGE 1-5 6-10 11-20 21-50 51-100 100+ 30% 28% 25% 24% 23% 22% 21% 21% 20% 20% 20% 19% 18% 17% 16% 16% 15% 14% 13% 10% 10% 10% 10% 9% 7% 6% 5% 0% Aspiring Striding Mostly DevOps & Automated Fully DevOps & Automated Report • The State of Testing in DevOps • 2021 6
Culture, Process are the Biggest Roadblocks Unsurprisingly, significant roadblocks remain in the way of full DevOps adoption with completely automated development pipelines. But as the democratization of DevOps adoption indicates, technology is no 6% longer the biggest challenge: a whopping 82% of survey respondents 11% named non-technological issues as the main inhibitor to DevOps. 29% Instead, 29% of quality professionals list slow processes and a reluctance to change as their biggest challenge, with 1-in-5 respondents saying budget and funding are the most significant obstacles. 15% The fact that 82% of software professionals no longer consider technology a major obstacle in DevOps adoption signals a key turning point in the implementation process. With the growing range of tools 21% specifically designed for DevOps and agile teams, the core problems 18% that need to be addressed by stakeholders are how to manage the transition over a long period of time, as well as how to best allocate their budgets for maximum impact and ROI. BIGGEST OBSTACLE 82% Slow process / adaption Not a company priority Budget / funding Internal politics ...of survey respondents named non-technological issues as Technology limitations Other the main inhibitor to DevOps. Report • The State of Testing in DevOps • 2021 7
Shift in CI/CD Adoption Signals Changing DevOps Priorities Next, we wanted to understand how DevOps and aspiring DevOps The most commonly adopted principle was continuous integration, teams are adopting practices like continuous integration, continuous despite a 14% decline compared to 2020. The drop nearly matches delivery, and continuous deployment into their software development the increase in those transitioning to CI, which jumped from 21% in pipelines. This allows us to gain insight into how DevOps teams are 2020 to 33% in 2021. Most notably, CI implementation was strongly putting the principles of DevOps into practice: if DevOps is the map correlated with DevOps adoption, as the overwhelming majority of fully that guides the shift to integrated development and operations teams, DevOps or nearly DevOps organizations (68%) indicated that they have CI/CD/CD are the pathways that allow teams to reach their destination implemented continuous integration. through ongoing automation and data gathering. CONTINUOUS INTEGRATION ADOPTION 2019 2020 2021 60% 60% 53% 46% 40% 33% 25% 20% 21% 13% 12% 11% 10% 8% 7% 0% Yes No Transitioning Not sure Report • The State of Testing in DevOps • 2021 8
CI is central to delivering quality in DevOps. By automatically performing unit tests when the source code is changed, testing is shifted to the left and moved away from the traditional model of testing only right before deploying to production. The rise in teams transitioning to CI aligns with a focus on software quality and automation that appeared in other DevTestOps trends that will be discussed later in this report. CONTINUOUS INTEGRATION ADOPTION Yes Transitioning No plans for 2021 Not sure 80% 68% 60% 62% 54% 44% 40% 43% 26% 24% 20% 19% 17% 14% 8% 8% 7% 7% 5% 6% 0% Aspiring Striding Mostly DevOps & Automated Fully DevOps & Automated Report • The State of Testing in DevOps • 2021 9
CONTINUOUS DELIVERY ADOPTION A distant second to Continuous Yes Transitioning No plans for 2021 Not sure Integration is Continuous Delivery. A plurality of respondents said 80% they’re in transition to Continuous 60% 64% Delivery (38%), while nearly the same 54% percentage have already adopted it. 47% 40% Like CI, Continuous Delivery is also 38% 39% closely connected to DevOps maturity, 28% 26% 20% with those at nearly full DevOps or 21% 17% 8% 12% 14% 5% 6% full DevOps the most likely to have 9% 11% 0% adopted CD. Aspiring Striding Mostly DevOps & Fully DevOps & Automated Automated CONTINUOUS DELIVERY ADOPTION 2019 2020 2021 40% 40% 38% 38% 36% The pandemic also appeared to shift 30% 30% focus to CD adoption. In 2020, we 28% 28% 25% found that 28% of respondents were 20% transitioning to Continuous Delivery, 16% while 38% of survey participants 10% reported doing the same in 2021. 10% 7% 5% 0% Yes No Transitioning Not sure Report • The State of Testing in DevOps • 2021 10
Lastly, Continuous Deployment is the CONTINUOUS DEPLOYMENT ADOPTION least widely implemented practice, with 2019 2020 2021 just 27% saying they have adopted CD. Another 36% are in the transitioning 50% process, and a full 25% of respondents 40% 42% say they have no plans to implement 39% 36% Continuous Deployment at all this year. 30% While those that never intend to practice 29% 28% 29% 27% 27% 25% CD was reduced drastically over the 20% past year, it’s still double the number 10% 12% of teams that say they don’t plan to 6% 7% adopt Continuous Integration (11%) or 0% Continuous Delivery (16%). Yes No Transitioning Not sure CONTINUOUS DEPLOYMENT ADOPTION Yes Transitioning No plans for 2021 Not sure 60% In the same vein as Continuous Integration and Continuous Delivery, Continuous 51% 46% Deployment implementation is correlated 40% 41% to DevOps adoption. A team enabled by 35% 30% DevOps is far better positioned to adopt 29% 27% 20% 24% CI/CD/CD, either as separate initiatives or 22% 21% 18% 17% connected plans. 14% 11% 7% 7% 0% Aspiring Striding Mostly DevOps & Fully DevOps & Automated Automated Report • The State of Testing in DevOps • 2021 11
As we identified earlier in the report, tooling is not the biggest inhibitor to DevOps. Teams have the tools they need to do the job. We had asked respondents which tools they relied on to support their CI/CD efforts. GitHub and Jenkins lead the pack, making up 69% of reponses, with alternatives fairly evenly distributed among a handful of other solutions. DEVOPS TOOLS USED 40% 35% 34% 30% 20% 21% 20% 18% 14% 10% 8% 7% 6% 5% 5% 3% 0% GitHub Jenkins GitLab Azure Pipelines BitBucket AWS Code Commit Bamboo CircleCI None of these CloudBees Octopus Deploy Other Report • The State of Testing in DevOps • 2021 12
Teams Maintained Product Velocity Despite the Pandemic 5% DEPLOYMENT FREQUENCY Though accelerated product velocity is the most commonly 11% 10% Annually or bi-annually cited benefit of DevOps adoption, our research showed the speed of development remained relatively flat in 2020-2021. 16% Quarterly Though a third of teams are now deploying new code at least Monthly 18% once per week, almost half still deploy less than once per Bi-weekly month. The number of teams that deploy new code daily Weekly or multiple times a day (15%) is roughly equivalent to those 21% Daily 19% deploying on a quarterly basis (16%). Multiple times a day DEPLOYMENT SPEED 2019 2020 2021 25% 25% 23% 20% 21% 21% 20% 19% 18% 18% 17% 15% 16% 15% 14% 12% 10% 11% 10% 9% 9% 9% 7% 50% 5% 3% 0% Yearly Quarterly Monthly Bi-weekly Weekly Daily Multiple times / day Report • The State of Testing in DevOps • 2021 13
DEPLOYMENT FREQUENCY BY DEVOPS Annually or bi-annually Quarterly Monthly Bi-weekly Weekly Daily Multiple times a day 30% 27% 27% 20% 21% 20% 20% 19% 19% 19% 95% 18% 15% 15% 15% 15% 15% 13% 13% 13% 13% 11% 11% 10% 10% 10% 6% 4% 3% 3% 1% 0% Aspiring Striding Mostly DevOps & Automated Fully DevOps & Automated When broken down by stage of DevOps adoption, the divide between Despite the flat trend in speed of development, enthusiasm for DevOps weekly or daily deployments and monthly or quarterly deployments and CI/CD adoption remained strong. As we saw in the previous section, becomes clearer. The majority of teams deploying new code on a interest in CI/CD adoption actually grew considerably over the course weekly or daily basis are running a full DevOps practice, with the bulk of the past year, leading to an uptick in teams transitioning to more of biweekly and monthly teams in the process of DevOps adoption. fully automated pipelines. With more teams maturing their DevOps Aspiring DevOps teams are the most likely to be on a quarterly or practice, the benefits are expanding beyond pure sprint speed. annual deployment schedule. Report • The State of Testing in DevOps • 2021 14
Automation is the Key to a Culture of Quality To better understand how automation impacts quality, we asked a series of questions around where and how teams are automating tests. The data revealed that most teams are focused on core testing - the most popular types of tests being automated are UI/Functional, unit, and regression tests - and fewer have implemented non-functional tests like performance and visual. TYPES OF AUTOMATED TESTS 50% 40% 42% 42% 41% 35% 30% 30% 30% 29% 27% 26% 20% 19% 15% 13% 10% 7% 4% 0% UI / Functional End-to-end UI Synthetic Monitoring None of the above Unit Regression Integration UI Smoke API Smoke API Feature Performance / Load Cross-browser Visual Exploratory Report • The State of Testing in DevOps • 2021 15
Additionally, we discovered that test automation aligns with DevOps After those core tests are automated, more mature organizations maturity. Teams that have implemented mostly or fully automated are more likely to move on to more complex scenarios that include pipelines are automating more types of tests. For teams just getting automating integration, end-to-end, and performance tests. started, they have narrowed their focus to automating core tests. TEST AUTOMATION TYPES BY STAGE Aspiring Striding Mostly DevOps & Automated Fully Devops & Automated 60% 60% 58% 56% 55% 55% 55% 53% 53% 50% 47% 47% 43% 44% 40% 41% 42% 40% 39% 36% 35% 33% 31% 32% 30% 30% 29% 29% 29% 28% 27% 25% 26% 24% 23% 23% 20% 22% 22% 20% 19% 17% 15% 13% 12% 14% 13% 12% 9% 5% 4% 0% l na I l n r on d t e g e y ua U ni se or rin ok io ok oa tio si nd U s ow t at m m /L ra to Vi es nc -e or IS IS eg i br gr on Fu ce to pl AP U s- t Re an In M d- Ex I/ os En m U tic Cr or he rf nt Pe Sy Report • The State of Testing in DevOps • 2021 16
TYPES OF AUTOMATED TESTS AND CUSTOMER HAPPINESS The data also revealed that when teams are Low High automating core tests like UI/Functional, regression, 80% end-to-end UI, and API tests, there’s a significantly 72% 72% 71% 60% 68% higher likelihood that customer happiness is high as 40% well. They indicated their customer happiness is pretty good or amazing, whereas teams not automating these 20% 10% 9% 9% types of tests rated their customer happiness as could 6% 0% be better or terrible. UI / Functional Regression End-to-end UI API Feature One very interesting revelation from this year’s data is that most teams And despite automation having a distinct presence in DevOps, there - regardless of where they are in DevOps maturity - rely on a combined is still a significant number of teams that are doing all manual testing. automated and manual testing approach. FUNCTIONAL TESTING BY STAGE All manual Combination All automated Not sure 50% 45% 40% 40% 39% 30% 32% 31% 29% 28% 29% 20% 21% 19% 19% 18% 19% 10% 7% 12% 12% 0% Code PR Deployment Production Report • The State of Testing in DevOps • 2021 17
Limits on automated testing continue to be a major obstacle to creating a culture of quality, where testing is a collaborative, integrated part of the software development lifecycle. Since most organizations rely at least in part on manual testing, the bulk of testing is still confined to the deployment and production stages. The main exception: mostly or fully DevOps teams. More than half of the teams with full DevOps have built a culture of quality into their development pipeline. TESTING DISTRIBUTION BY PHASE All manual Combination All automated Not sure ASPIRE TO ADOPT DEVOPS MAKING STRIDES TOWARDS DEVOPS 50% 50% 48% 40% 40% 41% 40% 40% 39% 39% 37% 30% 30% 29% 24% 24% 20% 20% 22% 22% 20% 21% 20% 20% 16% 16% 16% 17% 10% 14% 14% 10% 14% 12% 11% 11% 11% 10% 2% 9% 7% 5% 0% 0% Code PR Deployment Production Code PR Deployment Production MOSTLY DEVOPS, MOSTLY AUTOMATED FULLY DEVOPS, FULLY AUTOMATED 50% 50% 46% 47% 45% 40% 40% 39% 37% 36% 30% 30% 31% 28% 28% 20% 20% 24% 22% 23% 22% 22% 21% 17% 16% 16% 16% 10% 14% 14% 10% 13% 12% 12% 12% 12% 7% 5% 6% 6% 6% 6% 0% 0% Code PR Deployment Production Code PR Deployment Production Report • The State of Testing in DevOps • 2021 18
The stark differences between DevOps teams and those still on their 41% of respondents said they used Selenium in 2021, compared to journey to DevOps shows how critical automation is to building a 43% in 2020. The number of teams using no test automation solution culture of quality. Therefore, interest in test automation showed an also shrunk from 13% to 10% compared to the previous year. uptick this year, as well as some migration away from one of the most established test automation tools, Selenium. FUNCTIONAL TESTING TOOLS USED 50% 40% 41% 30% 20% 14% 10% 10% 9% 9% 8% 8% 7% 6% 6% 3% 3% 3% 3% 3% 3% 3% 6% 5% 5% 5% 5% 2% 1% 4% 4% 0% Selenium Cypress None of the above Smartbear Other Home-grown IBM Rational Microfocus mabl Sauce Labs Applause / uTest Axiom Eggplant Functionize Ghost Inspector AccelIQ Autify Rainforest QA ProdPerfect Tricentis Ranorex Test.ai TestCafe TestSigma TestCraft Sahi Report • The State of Testing in DevOps • 2021 19
One last point worth noting is that functional test automation is incomplete without integrating API testing to validate the full end-to-end user experience. Although only about a third of respondents indicated they were automating API tests, the majority of them are using Postman, followed by a variety of other solutions. As teams mature in DevOps and build a culture of quality, we project that API testing will grow in relevance and adoption. API TESTING TOOLS USED 40% 39% 30% 20% 21% 17% 13% 10% 9% 9% 6% 6% 5% 4% 4% 4% 4% 4% 3% 0% Postman SoapUI Home-grown (Java, Python, etc.) None of the above Ready API Blazemeter Other Katalon Checkly Insomnia Apigee mabl Ranorex Mesh Dynamics Assertable Report • The State of Testing in DevOps • 2021 20
Quality Differentiates DevOps Teams The hidden advantage of DevOps: better software quality. We Almost 20% of DevOps aspirants said QA was a necessary evil, while asked our respondents how their organizations viewed the role of most teams making strides towards DevOps or mostly DevOps teams QA, handled cross-functional collaboration to triage bugs, and how say that they only do some testing right before code is released. In their customers feel about their product to understand how quality stark contrast, over 50% of fully DevOps teams said that they have a engineering contributes to more effective software development culture of quality, testing early and often throughout development. teams and overall business success. The first thing we found was that most organizations not running full DevOps are still defining their 51% ...of fully DevOps teams said that relationship with QA. they have a culture of quality ROLE OF QUALITY ASSURANCE It’s a necessary evil We have quality coaches that make sure we test adequately We do some testing right before code release We test early and often with a culture of quality throughout dev 60% 51% 40% 38% 37% 34% 34% 30% 24% 23% 20% 22% 22% 19% 18% 16% 14% 12% 6% 0% Aspiring Striding Mostly DevOps & Automated Fully DevOps & Automated Report • The State of Testing in DevOps • 2021 21
Given those numbers, it’s no surprise TEST COVERAGE Non-existent Good enough Excellent that most survey respondents Bare minimum Really good described their test coverage as “good 60% enough.” Fully DevOps teams were 54% the only group to favor more positive 49% views, with 36% saying their test 40% 46% coverage was “really good” and 23% 36% 36% saying it was “excellent.” 28% 20% 23% 23% 23% 20% 19% 17% 4% 2% 7% 2% 7% 2% 2% 0% This trend carries through to the end Aspiring Striding Mostly DevOps & Fully DevOps & user, your customer. A large majority Automated Automated of teams that are full DevOps have shared that their customers would rate their application as either “amazing” CUSTOMER HAPPINESS Terrible Okay Amazing or “pretty good.” Fully DevOps teams Could be better Pretty good were by far the most likely to say their 50% 50% customers love their product, with one- 48% third falling in the “amazing” category. 40% 40% DevOps aspirants, on the other 38% 35% 38% 30% hand, only described their customer 31% happiness as amazing 7% of the time. 20% 25% 25% Though most teams are managing 15% product quality without full DevOps, 10% 10% 10% 9% it’s clear that DevOps adoption is key 6% 7% 1% 7% 6% 0% to getting ahead of product issues and Aspiring Striding Mostly DevOps & Fully DevOps & building long-term customer happiness. Automated Automated Report • The State of Testing in DevOps • 2021 22
The Changing Role of QA 50% 45% So what does a culture of quality look like for leaders in 44% 40% DevOps? Naturally, QA professionals hold a leadership role 35% 35% in quality, but DevOps teams share responsibility across the 33% 33% 30% entire team, especially as DevOps matures in the enterprise. 28% 20% TEAM MEMBERS INVOLVED IN TESTING 17% 19% 16% 15% 14% Developers Product / Business owners 10% 13% 11% Everyone QA pros / Manual testers 6% 7% 7% 8% 6% 6% Outsourced team 0% Aspiring Striding Mostly DevOps & Fully DevOps & Automated Automated 60% 60% As teams move from manual to fully automated pipelines, the 58% data shows they get better at applying testing best practices and catching bugs earlier in production. When bugs are caught 40% 42% 43% earlier, teams save time and effort addressing them, making it 35% easier to deliver quality software quickly - which also improves customer satisfaction. 24% 25% 20% 20% 18% 12% 14% 16% 14% WHERE ISSUES IDENTIFIED 9% 8% 2% By customers in prod. Staging/dev with automation 0% Aspiring Striding Mostly DevOps & Fully DevOps & By manual testers in staging/ Early in development Automated Automated dev or prod. Report • The State of DevTestOps • 2021 23
TIME TO FIX BUG Minutes 24-48 hours 1-8 hours More than 48 hours Not only do DevOps teams that have 8-24 hours embraced automated pipelines identify 50% bugs earlier in the development process, they’re able to address them much faster. 40% 40% 38% 62% of DevOps teams are able to fix 30% 34% bugs within eight hours, while even 32% 31% 31% 28% mostly DevOps teams need 8-24 hours 23% 23% 20% 21% 21% to address defects. For a fifth of aspiring 15% 16% DevOps teams, bug fixes take two days to 10% 13% 12% 11% 4% repair, a serious delay if deployments happen 2% 3% 2% 0% on a daily, weekly, or bi-weekly basis. Aspiring Striding Mostly DevOps & Fully DevOps & Automated Automated A key component of addressing bugs quickly 60% with minimal disruption to deployment 56% schedules is how easily testers are able to 47% 46% hand issues over to engineering. With DevOps, 40% 40% 39% the entire pipeline is integrated, making it much 35% easier to collaborate across QA and development. 28% 29% 24% 20% HANDOFF OF ISSUES TO ENGINEERING 12% 10% 8% 6% 6% 8% 7% Painful Pretty good 0% Aspiring Striding Mostly DevOps & Fully DevOps & Needs improvment Seamless Automated Automated Report • The State of Testing in DevOps • 2021 24
Almost half of DevOps aspirants admit that the handoff process needs Additionally, what the data also reveals is that the handoff between improvement, as do 46% of those making strides towards DevOps. teams is directly correlated with test coverage. Teams who have really Once an organization is mostly DevOps, however, the tide turns. With good or excellent test coverage also have a good and/or seamless more automated pipelines the handoff from QA to engineering gets handoff of issues between teams. The data shows more obviously better and approaches seamlessness. The data shows that 63% of fully that when test coverage is inadequate there’s a high likelihood that automated teams describe that handoff as pretty good or seamless, the handoff to engineering needs improvement or, even worse, is while 56% of mostly DevOps teams are happy with their ability to downright painful. collaborate between quality and engineering teams. TEST COVERAGE AND HANDOFF TO ENGINEERING Needs improvement Good or Seamless 80% 60% 40% 20% 0% Non-existent Bare minimum Good enough Really good Excellent Taking it one step further, the data showed that for teams who FAST BUG RESOLUTION TO TEST COVERAGE have good to excellent test coverage, they are more likely to resolve
TEST COVERAGE AND CUSTOMER HAPPINESS Low Happiness High happiness Furthermore for teams who have greater test coverage (really good 80% 80% or excellent), customer happiness 60% is also impacted. 80% of teams who 40% reported high test coverage also 20% 27% 30% 3% reported high customer happiness 0% Low test coverage Hight test coverage (pretty good or amazing). Test coverage has a significantly higher impact on customer CONTINUOUS INTEGRATION AND CUSTOMER HAPPINESS happiness when compared to continuous integration, continuous Low Happiness High happiness delivery and/or continuous deployment adoption. While the net gain 80% for high test coverage is a stark 50%, the return for teams who have 60% 65% fully transitioned to CI/CD only earns a net gain of 14% for continuous 51% 40% 48% integration, 4% for continuous delivery, and 2% for continuous deployment. The data makes a strong argument that supports 20% 18% 9% investing in ample test coverage to ensure customer happiness, 13% 0% which is more favorable than deeper investments in CI/CD. No Transitioning Yes CONTINUOUS DELIVERY AND CUSTOMER HAPPINESS CONTINUOUS DEPLOYMENT AND CUSTOMER HAPPINESS Low Happiness High happiness Low Happiness High happiness 60% 60% 58% 55% 56% 54% 54% 18% 54% 40% 40% 20% 20% 14% 14% 10% 18% 12% 12% 14% 18% 0% 0% No Transitioning Yes No Transitioning Yes Report • The State of Testing in DevOps • 2021 26
With DevOps, a collaborative culture enabled by automation builds Almost one-third of DevOps teams even describe release days as a pipeline and a process that teams have confidence in. When asked smooth with no stress at all (must be nice, right?). about their stress levels on release days, most DevOps teams say the process is manageable with little stress. CODE RELEASE Smooth Manageable Bumpy Stressful 80% 65% 60% 61% 59% 49% 40% 29% 28% 23% 20% 21% 20% 15% 13% 10% 2% 1% 4% 0% Aspiring Striding Mostly DevOps & Automated Fully DevOps & Automated Report • The State of Testing in DevOps • 2021 27
Though the organizations on their DevOps journey - either making strides towards full adoption or mostly DevOps - are also most likely to describe their release days as manageable, the risk for bumpy, stressful releases is much higher. Compared to the 2% of stressed out full DevOps teams, 12% of mostly DevOps teams say releases are challenging and 27% describe their releases as highly stressful. Low-stress release days also result in teams that are more confident in their releases: RELEASE CONFIDENCE Totally confident Good, but we could have tested more We close our eyes and hope for the best 80% 70% 65% 60% 61% 55% 40% 30% 31% 20% 23% 16% 14% 14% 13% 8% 0% Aspiring Striding Mostly DevOps & Automated Fully DevOps & Automated 21% Teams with more automation feel more confident in their releases; while teams that have manual pipelines are much less confident. One thing to note though - the majority of respondents feel that they could have tested more, even if their team is fully DevOps. A culture of quality creates a positive feedback loop within a DevOps pipeline, improving team confidence and collaboration while ensuring that testing is thorough and customers receive a flawless product. Report • The State of Testing in DevOps • 2021 28
Key Takeaways Overall, most software delivery teams managed to continue their DevOps journey throughout the pandemic, even accelerating adoption of processes like CI/CD. But quality remains both a key opportunity and a key challenge, with DevOps more likely to successfully adopt test automation and build a culture of quality. Improvements in DevOps tools has democratized Teams maintained product velocity despite DevOps adoption the pandemic • No single category of business (large enterprise, medium • Though a third of teams are now deploying new code at least once enterprise, small and midsize businesses) owns DevOps adoption per week, almost half still deploy less than once per month. The number of teams that deploy new code multiple times per day (15%) • The biggest inhibitors to DevOps are the slow process of change is roughly equivalent to those deploying on a quarterly basis (16%). and budgetary challenges Manual and automated testing coexist in all teams The pandemic accelerated the transition to CI/CD/CD • Most teams - regardless of DevOps adoption - are using a combination of manual and automated testing to manage quality. • Most teams (60%) have adopted CI and another 33% is transitioning, an increase of 10% compared to 2020. • Test automation is mostly used for functional testing, with UI and unit testing serving as the most common types of automated • A plurality of respondents said they’re in transition to Continuous tests. Delivery (38%), while nearly the same percentage have already adopted it. • More teams adopted test automation during the pandemic, with just 10% using no test automation tools at all. • 27% of teams have adopted Continuous Deployment. Another 36% are in the transitioning process, and a full 25% of respondents say they have no plans to implement CD at all. Report • The State of Testing in DevOps • 2021 29
Quality - and testing - improve DevOps practices In Summary • Over 50% of fully DevOps teams said that they have a culture of quality, testing early and often throughout development. Regardless of where teams are in DevOps, most agree that testing still needs to be expanded, opening more opportunities for QA to take • 43% of DevOps teams catch bugs early in development compared a leadership role in DevOps adoption. There are many well-known to just 16% of aspiring DevOps teams. benefits of DevOps, but what this data also reveals is that testing and test • Fully DevOps teams were 3x as likely to rate their test coverage as automation are critical success factors as DevOps teams mature. When “excellent” and 4x as likely to say their customers loved their product. it comes to testing, some key takeaways for teams who are on their way: • 80% of teams with high test coverage reported high customer happiness, compared to just 30% of those with low test coverage. • Test automation plays a significant role in every stage of • Improving test coverage showed a net gain of 50% for customer development, with the goal of improving overall test coverage. happiness, while adopting CI only resulted in a net gain of 14%. • Applying testing best practices early and often is a need to have when it comes to fully automated pipelines. The changing role of QA • It’s clear that QA will lead testing, but it’s also beneficial to work • Testing is a team sport in DevOps: 35% of fully DevOps teams say toward democratizing testing with an everyone involved approach everyone participates in testing. to create a culture of quality. • 62% of DevOps teams are able to fix bugs within eight hours, while • A culture of quality and test automation reinforce and improve even mostly DevOps teams need 8-24 hours to address defects. DevOps practices for more effective teams, better development processes, and happier customers. • 20% of aspiring DevOps teams take two days to repair bugs, a serious delay if deployments happen on a daily, weekly, or The end result will be less stressful code releases and higher confidence biweekly basis. in those releases. There will be a seamless handoff when it comes to • 56% of mostly DevOps teams are happy with their ability to bugs and faster resolution of those. Leading to improved employee collaborate between quality and engineering teams, and 25% satisfaction, increased team efficiency, cost savings, and ultimately describe their process as totally seamless happier customers. • 33% of DevOps teams describe release days as smooth with no To learn more about how mabl can help you automate end-to-end stress at all, compared to 20% of aspiring DevOps teams. tests at every stage of development, visit www.mabl.com. Report • The State of Testing in DevOps • 2021 30
You can also read