DevOps.com

Where the world meets DevOps

  • Latest
    • Articles
    • Features
    • Most Read
    • News
    • News Releases
  • Topics
    • AI
    • Continuous Delivery
    • Continuous Testing
    • Cloud
    • Culture
    • DevSecOps
    • Enterprise DevOps
    • Leadership Suite
    • DevOps Practice
    • ROELBOB
    • DevOps Toolbox
    • IT as Code
  • DevOps Chats
  • Webinars
    • Upcoming
    • On-Demand Webinars
  • Library
  • Events
    • Upcoming Events
    • On-Demand Events
  • Sponsored Communities
    • AWS Community Hub
    • CloudBees
    • IT as Code
    • Perforce DevSecOps
    • Rocket on DevOps.com
    • Traceable on DevOps.com
  • Related Sites
    • MediaOps
    • Container Journal
    • Security Boulevard
    • SweetCode.io
    • Digital Anarchist
    • DevOps TV on YouTube
    • DevOps Chat on SoundCloud
    • DevOps Connect
    • DevOps Dozen
  • Media Kit
  • Follow Us
    • Twitter
    • Google News
    • LinkedIn
    • Facebook
    • DevOps TV on YouTube
    • Email
  • AI
  • Cloud
  • Continuous Delivery
  • Continuous Testing
  • DevSecOps
  • Leadership Suite
  • Practices
  • ROELBOB
  • Low-Code/No-Code
  • IT as Code
  • More Topics
    • Application Performance Management/Monitoring
    • Culture
    • Enterprise DevOps

Home » AWS Community Hub » CI/CD » How Shifting Testing Left Can Boost DevOps Velocity

shifting testing left

How Shifting Testing Left Can Boost DevOps Velocity

By: Rob Mason on April 23, 2021 Leave a Comment

DevOps is all about balance: How can speed and quality be balanced to best meet the demands of customers who want exceptional digital experiences as fast as possible? DevOps looks to meet these expectations head-on by helping to deliver a faster cadence of new builds to customers while keeping quality high.

Recent Posts By Rob Mason
  • Crowdtesting: How to Ensure Quality in Disruptive Times
More from Rob Mason
Related Posts
    Related Categories
  • Blogs
  • CI/CD
  • Continuous Testing
  • DevOps Culture
  • DevOps Practice
    Related Topics
  • application testing
  • Automated testing
  • CI/CD
  • shift left
Show more
Show less

What’s more, quality should continuously improve, build-over-build, so that fewer fixes are needed with each iteration. While inserting more testing earlier in the development life cycle may at first seem like a hindrance to the speed DevOps promises, it will soon empower teams to release higher-quality software, faster, as shift-left testing becomes a routine part of the team’s processes.

Many organizations wait until the very end of their software development life cycle (SDLC) before executing testing. With this structure, testing can and does find unexpected bugs late in the SDLC, where issues are the most difficult and expensive to resolve. With this approach, testing becomes a bottleneck, impacting that ever-important goal of efficient and Agile software development and deployment. An unexpected outcome: it also negatively affects team morale, as developers who spent plenty of time and effort to build and ship code quickly now have to delay their deployment process in order to correct issues.

There is a more efficient approach that organizations can put into place, however.

Shifting Testing Left

Testing can be implemented during and throughout the critical stages of design and development of software, instead of after.

This is true regardless of how a team approaches development methodologies: Agile, waterfall, continuous or a combination of these methods. When testing is shifted left, it becomes the responsibility of the entire organization, not just dedicated QA testers. That means SDETs, developers and others should all be active in testing along with QA. When these groups are involved in testing early on in the SDLC, there are plenty of benefits, including:

  • A list of user workflows and test validation conditions can be created to streamline testing during development processes.
  • Testers can catch potential issues much earlier in the process so they can be fixed during earlier stages, instead of after code is done being developed.
  • Developers and testers can work with code they are familiar with to edit existing code and fix issues themselves.

Building a Continuous Feedback Loop

Another major advantage of shifting testing left in the SDLC is that it creates a continuous feedback loop. Software can be updated and improved continuously as it is being built, instead of when it is “complete” and ready to ship. This model of a feedback loop saves time and ultimately ensures no show-stopping issues make their way into the hands of customers.

Test Automation in the SDLC

One more key element to shifting testing left is test automation. Unfortunately, automation is often not leveraged completely or to its fullest potential. A recent report found that 74% of QA testers see test automation taking place outside the regular test cycle. Moreover, only 45% of organizations use test automation, and only 50% use it for continuous integration/continuous delivery (CI/CD).

For test automation to succeed, it must involve developers creating the automation code and testers, then editing, maintaining and executing that code. When test development, including automated testing, is moved into the SDLC properly, it leads to automated and integrated unit testing, which helps achieve that goal of increased efficiency for DevOps teams.

Automation is obviously crucial to the success of DevOps, but manual processes must also be considered. Some types of testing – like exploratory, payments, usability and accessibility – cannot be automated (at least not fully), but they should also be accounted for as part of a shift-left strategy.

The origin of DevOps methodology and the focus of developers involves the goal of building and deploying code as quickly as possible. But testing software to make sure it works as intended is an important step that should be included throughout the SDLC. When testing only happens at the end of the process, it can be an inhibitor to the overall goal of increased development velocity. But when testing is shifted left and involved earlier on in the SDLC, it can do the opposite – by creating a continuous feedback loop and implementing automation to drive improved DevOps velocity.

Ultimately, shifting testing left in the SDLC leads to features getting to users and customers faster, an overall improvement of software quality and a reduction of QA testing time and bug fixes.

Filed Under: Blogs, CI/CD, Continuous Testing, DevOps Culture, DevOps Practice Tagged With: application testing, Automated testing, CI/CD, shift left

Sponsored Content
Featured eBook
The Automated Enterprise

The Automated Enterprise

“The Automated Enterprise” e-book shows the important role IT automation plays in business today. Optimize resources and speed development with Red Hat® management solutions, powered by Red Hat Ansible® Automation. IT automation helps your business better serve your customers, so you can be successful as you: Optimize resources by automating ... Read More
« Hierarchy of Needs
Three Manual Accessibility Testing Pain Points »

TechStrong TV – Live

Watch latest episodes and shows

Get The Top Stories of the Week

  • View DevOps.com Privacy Policy

Upcoming Webinars

Who Benefits From Value Stream Management?
Tuesday, June 15, 2021 - 2:00 am EDT
Embracing Change: Policy-as-Code for Openshift With Opa and Gatekeeper
Tuesday, June 15, 2021 - 1:00 pm EDT
Replatforming Legacy Packaged Applications: Block-by-Block With Minecraft
Tuesday, June 15, 2021 - 3:00 pm EDT

Upcoming Webinars

Fri 11

How Instacart Uses Datadog and AWS CloudWatch for Real-time Monitoring

Fri, June 11, 1:00 pm - 2:00 pm EDT
Tue 15

Who Benefits From Value Stream Management?

Tue, June 15, 2:00 am - 3:00 am EDT
Tue 15

Embracing Change: Policy-as-Code for Openshift With Opa and Gatekeeper

Tue, June 15, 1:00 pm - 2:00 pm EDT

More Webinars

Past Webinars

Latest from DevOps.com

Cortex Taps GitLab to Help DevOps Teams Manage Microservices
June 11, 2021 | Mike Vizard
How to Gain Greater Value From DevOps
June 11, 2021 | Darren Broemmer
Learning ‘The Second Way’ of DevOps – Continuous Feedback
June 11, 2021 | Marc Hornbeek
CloudBolt Adds Cloud Cost Tool to Hybrid Management Platform
June 10, 2021 | Mike Vizard
Lightbend Launches Serverless Managed DevOps Service
June 10, 2021 | Mike Vizard

Most Read on DevOps.com

What Biden’s Cybersecurity EO Means for DevOps Teams
June 8, 2021 | Tim Mackey
Chicken Soup for the SLO
June 7, 2021 | Austin Parker
Fixing Risk Sharing With Observability
June 7, 2021 | Nick Heudecker
HashiCorp Increases Terraform’s Enterprise Appeal
June 8, 2021 | Mike Vizard
Grafana Labs Advances Open Source Visualization and Observab...
June 8, 2021 | Mike Vizard

On-Demand Webinars

DevOps.com Webinar ReplaysDevOps.com Webinar Replays

Download Free eBook

DevOps: Mastering the Human Element
DevOps: Mastering the Human Element
  • Home
  • About DevOps.com
  • Meet our Authors
  • Write for DevOps.com
  • Media Kit
  • Sponsor Info
  • Copyright
  • TOS
  • Privacy Policy

© 2021 ·MediaOps Inc.All rights reserved.

Our website uses cookies. By continuing to browse the website you are agreeing to our use of cookies. For more information on how we use cookies and how you can disable them, please read our Privacy Policy.