The Truth About Continuous Testing You Need To Know

cerberus-testing-the-truth-about-continuous-testing-featured

Your users are expecting a customer experience meeting the high standards set by the leading actors. Delivering a high-standard user experience requires continuous improvement, explaining the need for faster software delivery. But acceleration comes with its side-effects of degraded quality without counter-forces.

The Quality at Speed paradigm is a good summary of what we are trying to achieve. We need to deliver software changes fast that meet the quality requirements. Testing in traditional ways lacks the essential element of speed, explaining the need for Continuous Testing within a Continuous Delivery environment.

The world of Testing has been evolving in various ways: shift-left, shift-right, test in production, among others. But what is changing with Continuous Testing? What are we trying to achieve? What are the impacts at the end of the day?

In this article, we cover the true changes coming with Continuous Testing:

  • Continuous Testing requires a company-wide alignment
  • The Graal of Continuous Shift-left and Shift-right
  • SDLC and STLC merging into unified feedback loops
  • Continuous feedback to all stakeholders, not only test or IT
  • Focus on global usefulness more than local silo optimization
  • Technology must be self-service, integrated and intelligent

You can consult The Top 5 Bottom Line Reasons for Continuous Testing for a better understanding of Continuous Testing motivations.

Continuous Testing requires a company-wide alignment

Continuous Testing is the natural consequence of evolving quality practices out of their natural silo of testing and QA teams. Valuable continuous testing will only come by providing value to the stakeholders, hence the need for a transversal alignment in the first place.

A prerequisite of aligning the priorities of Continuous Testing is to perform a Shift-Up & Spread exercise. This practice is shared by Iman Benlekehal, illustrating the need for a transversal alignment between the stakeholders on the quality expectations, meanings and attributes. Once this exercise has been performed, we can focus on implementing the Graal of Continuous Testing, providing the most valuable testing practice on the software value chain.

Figure 1: Continuous Testing is one fundamental block of Software Delivery, SDLCPartners.

The core practices remain essential, like performing tests in non-production environments, implementing automated tests, managing the code quality. The key difference with Continuous Testing is to perform them systematically, supporting fast feedback loops. Taking the example of automated tests, we will not implement a full test suite for weeks. Instead, we need to align our flow of work in just-in-time to the small software changes that are being performed. That way, we can quickly provide feedback on the development done, adjusting directly if necessary. 

While the core practices are essential, we must act transversally, shifting left and right on the software lifecycle.

The Graal of Continuous Shift-left and Shift-right

The core practices remain more than valuable while their scalability is making the difference. The expansion of quality across the software lifecycle is identified with Shift-left – when acting upstream on the requirements for example – and Shift-right – more closely related to the actual user experience in production.

From a Shift-left perspective, Continuous Testing also requires leveraging automation while working in shorter time increments. A concrete example is to verify the use-cases and requirements early, assessing their pertinence, quality attributes, and description. We can leverage BDD or ATDD practices with automated checks for the first level of verifications, complementing afterward with a human review. Over time, we can build a better reusable library of components, enabling faster continuous testing loops.

Figure 2: Shifting left and shifting right in a continuous world, Lisa Crispin.

We move to the Shift-Right context when focusing on the user experience, software operations and support. The SRE practices leveraging Monitoring is a simple example of Continuous Testing; we are performing every 5 minutes a verification of user journeys. The difference with Continuous Testing is to apply the paradigm of more frequent feedback loops with a broad range of practices. For example, load-test performed every 6 months before a big sales period is useful but remains risky. What happens if structural issues were added 4 months ago that is now too hard to change? That’s where Continuous Load-Test can help us detect earlier this type of problem.

Consequently, Continuous Testing requires profound changes of the existing lifecycle, namely software delivery and software testing.

SDLC and STLC merging into unified feedback loops

The software delivery lifecycle (SDLC) and software testing lifecycle (STLC) were traditionally two separate processes. The Software ones focused on specifying, implementing and deploying software, whereas the Testing ones on tests.  Continuous Testing is changing this paradigm to unified feedback loops.

Achieving Quality at Speed requires both delivering fast and with quality. The unified feedback loops including software and testing steps enable them to address quality requirements along the chain. CI/CD with Quality Gates is one concrete and valuable example: CI/CD coming from the software world are augmented with automated testing steps at the various stages. We can for example block the pipeline in a test environment for software changes not meeting the expected quality requirements.

Figure 3: The separation of SDLC and STLC in Continuous Testing is less valid, Sealights.

A true change coming with Continuous Testing is the inclusion of systematic quality steps within the software development process. Our previous exercises of identifying the most valuable shift-left or shift-right practices are useful at this moment. We can prioritize the most valuable continuous testing increments on the identified software steps. For example, we can add security controls on the build or at the runtime of the applications. 

While implementing Continuous Testing, the actors will collaborate more closely on a shared mission they need to measure.

Continuous feedback to all stakeholders, not only test or IT

Traditional testing approaches tend to optimize the silo of QA with specific code or testing metrics. While a test coverage can be a useful supporting metric, it does not measure the value creation from a larger perspective. Continuous Testing makes a difference, giving continuous feedback to the various stakeholders.

Feedbacks are the prerequisite to a faster and more efficient adaptation. The continuous feedback we can leverage with Continuous Testing is therefore essential to reduce the risk of losing effort on non-valuable activities. A key aspect is to measure the right metric for the right purpose. Vanity metrics like the number of tests should be forgotten. We should again get back to the Shift-up process, where we identify the impact expected by our stakeholders.

Figure 4: The 2 Most Critical Feedback Loops in Software Development, CodemanShip.

Continuous measurement brings the additional question of timing. Like for blood pressure or losing weight, you don’t need to verify your indicators every minute or day. In Continuous Testing, that depends on the involved metric. For SRE on user journeys, we can measure the service indicators in a seconds interval while using time-series graphs for an analytics perspective. 

This shared and global perspective brought by Continuous Testing creates the habit of measuring the impact over local optimizations.

Focus on global usefulness more than local silo optimization

When you start Continuous Testing the first question is “Where to start?”. You are not anymore limited to a test environment to optimize automated tests. Therefore, Continuous Testing helps foster the actors to have a global picture, contributing to making an impact for the customer and the organization.

This global impact brings another challenge for the QA and testing actors. They must embrace a larger spectrum of interactions to deliver valuable quality elements. They have to engage with product management, engineering, infrastructure and platform. The list of buzzwords exemplifying this transformation to Continuous Testing is endless: DevTestOps, BusOps, etc. By sharing transversally, the actor’s priorities will be more aligned on the global objectives of the system.

Figure 5: The actors must collaborate transversally within and across teams, InfoQ.

Once a QA actor moves out of his comfort zone, he faces the challenges of implementing more broader practices. This challenge is valid for all actors with Continuous Testing; as the team works transversally to increase the impact of their activities, their practices evolved for more transversality. A concrete example is to evolve from SRE to Customer Reliability Engineering (CRE). We are no longer concerned only with site or service metrics; we look upstream from the user perspective.

Continuous Testing brings the last challenge to help the actors achieve this transversality, the one of Technology.

Technology must be self-service, integrated and intelligent

The unified feedback loops brought by Continuous Testing require speed and adaptation. From a technology perspective, we can start by leveraging self-service and automation to accelerate our cycle times. Additionally, the unified paradigm requires composing the different technologies from software and testing to work in harmony. Lastly, more intelligent systems are our hope for tomorrow’s tooling.

Self-service is achieved through matured automated processes. We were used to working with paper processes, which we later evolved to information systems. Right now, a large set of standard services are available in self-service. You can deal with a lot of government services from a portal for instance. We have the same stages of maturity to reach in Continuous Testing. For example, ensuring the scalable deployment of quality gates requires a robust library of templates and connectors to let the engineering team deploy them autonomously.

Figure 6: Continuous Testing requires fast loops, Sogeti Continuous Testing Report 2020.

The interdependence of testing technologies with the ones part of the software delivery chain creates a pressure for composition. We must be able to quickly deploy a new testing activity within an existing process, in a matter of minutes. At the same time, we need a high degree of flexibility to adapt our processes; some tooling can become obsolete, other processes evolve, etc. The integration capability of testing products is therefore structuring. Our evolving ecosystem cannot work in isolation with lock-in, causing the system obsolescence in the mid-term.

The last Continuous Testing impact on Technology is to do more with less effort. We need to maximize the feedback loop’s value and frequency. From a system perspective, the human part is the limiting factor. We can automated tests, deployment and production observability, but the most complex decisions we take remain for the actors. That’s where data science can help us by automating complex decision matrices at scale. We are aiming for maximum automation of steps for faster loops.

In reality, Continuous Testing supports continuous learning loops for the customer value proposition.

Continuous Testing brings Continuous Customer Feedback Loops

The word Testing can induce in errors for the needs of Continuous Testing. We are not talking about impacts from or for testing. Our goal is to accelerate the rate of valuable adaptation to the user experience and value proposition.

We cover the implication of Continuous Testing from a broader perspective, processes, interactions. At the end of the day, we are helping the actors leverage modern processes and tools to meet the high standard.

Continuous Testing therefore brings Continuous Customer Feedbacks Loops to constantly improve the value delivery to the users. There is no end but only a journey of continuous improvement to meet and remain at the high standard.

For an implementation perspective, you can consult this article This Is How To Make Continuous Testing.

Looking for a Continuous Testing framework? Use Cerberus Testing for free.

Leave a comment

Your email address will not be published. Required fields are marked *

Cerberus-Testing Terms Of Service


Website Terms and Conditions of Use

1. Terms

By accessing this Website, accessible from http://vgeouyk.cluster030.hosting.ovh.net, you are agreeing to be bound by these Website Terms and Conditions of Use and agree that you are responsible for the agreement with any applicable local laws. If you disagree with any of these terms, you are prohibited from accessing this site. The materials contained in this Website are protected by copyright and trade mark law. These Terms of Service has been created with the help of the Terms of Service Generator and the Privacy Policy Template.

2. Use License

Permission is granted to temporarily download one copy of the materials on Cerberus Testing's Website for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may not:

  • modify or copy the materials;
  • use the materials for any commercial purpose or for any public display;
  • attempt to reverse engineer any software contained on Cerberus Testing's Website;
  • remove any copyright or other proprietary notations from the materials; or
  • transferring the materials to another person or "mirror" the materials on any other server.

This will let Cerberus Testing to terminate upon violations of any of these restrictions. Upon termination, your viewing right will also be terminated and you should destroy any downloaded materials in your possession whether it is printed or electronic format.

3. Disclaimer

All the materials on Cerberus Testing’s Website are provided "as is". Cerberus Testing makes no warranties, may it be expressed or implied, therefore negates all other warranties. Furthermore, Cerberus Testing does not make any representations concerning the accuracy or reliability of the use of the materials on its Website or otherwise relating to such materials or any sites linked to this Website.

4. Limitations

Cerberus Testing or its suppliers will not be hold accountable for any damages that will arise with the use or inability to use the materials on Cerberus Testing’s Website, even if Cerberus Testing or an authorize representative of this Website has been notified, orally or written, of the possibility of such damage. Some jurisdiction does not allow limitations on implied warranties or limitations of liability for incidental damages, these limitations may not apply to you.

5. Revisions and Errata

The materials appearing on Cerberus Testing’s Website may include technical, typographical, or photographic errors. Cerberus Testing will not promise that any of the materials in this Website are accurate, complete, or current. Cerberus Testing may change the materials contained on its Website at any time without notice. Cerberus Testing does not make any commitment to update the materials.

6. Links

Cerberus Testing has not reviewed all of the sites linked to its Website and is not responsible for the contents of any such linked site. The presence of any link does not imply endorsement by Cerberus Testing of the site. The use of any linked website is at the user’s own risk.

7. Site Terms of Use Modifications

Cerberus Testing may revise these Terms of Use for its Website at any time without prior notice. By using this Website, you are agreeing to be bound by the current version of these Terms and Conditions of Use.

8. Your Privacy

Please read our Privacy Policy.

9. Governing Law

Any claim related to Cerberus Testing's Website shall be governed by the laws of fr without regards to its conflict of law provisions.

Thank you for your interest in cerberus,

In order to proceed with your SaaS we need some in order to confirm your instances accesses.

Please provide accurate contacts to secure the process.

You can cancel any time the subscription, please read Terms of Use.