1 / 3

Integrating automation with continuous testing in a CI/CD pipeline

A CI/CD pipeline thrives on automation, which is the reason for the faster releases and quicker feedback loops. But, the key to achieving truly effective CI/CD is test automation and continuous testing (CT).

olivermoore
Download Presentation

Integrating automation with continuous testing in a CI/CD pipeline

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Integrating Automation with Continuous Testing in a CI/CD Pipeline Software development practices and methodologies have evolved significantly since the time humans were introduced to an idea of a code. The most critical outcome of this evolutionary journey has been the greater focus on software testing. We are now in the era of DevOps – a methodology that harmonizes each step of the software development lifecycle, bringing all the functions under one umbrella for them to work together, collaboratively, without any organizational silos. DevOps practices empower an organization to keep up with the pace at which consumer demands change these days and to be on the top of their game for staying ahead of the competition. A DevOps-driven SDLC is in turn empowered by a Continuous Integration and Continuous Delivery (CI/CD) pipeline. While Continuous Integration is the process of merging the code developed by each developer into a main source code, Continuous Delivery enables one-click deployments of fully-automated, low-risk, and low cost releases. A CI/CD pipeline thrives on automation, which is the reason for the faster releases and quicker feedback loops. But, the key to achieving truly effective CI/CD is test automation and continuous testing (CT). Although Continuous Integration and Continuous Delivery are essential for accelerating product releases, Continuous Testing is what brings in the factor of quality into those accelerated releases.

  2. Need for Continuous Testing within a CI/CD pipeline David Farley in his book on ‘Continuous Delivery: Reliable Software Releases Through Build, Test, and Deployment Automation’ aptly summarizes the need for continuous testing –“The earlier you catch defects, the cheaper they are to fix.” And, to catch the defects early, it is important to minimize the scope for manual errors and maximize the possibility for faster feedback and resolution, which can be made possible with test automation and continuous testing. The software applications being developed today are much more complex than their predecessors a couple decades ago. With higher complexities and intensive architectural & infrastructural requirements, the testing approach needs to evolve such that it addresses the various protocols & application components simultaneously while finding bugs. Automation- driven continuous testing can run parallel to the development. This means that as soon as a code is integrated into the central repository, the automated tests can run and send the feedback much faster than a manual tester can. When the bugs are caught early on, there is ample time for the developers to resolve the issue and prevent defect leakage into the production. This is especially challenging in the case of mobile software applications. While changes made to a web application can be available for the users immediately after release, the changes made to a mobile application need to be updated on the app store, approved by the app- hosting store, and then explicitly updated/downloaded by the user on their mobile devices. This process takes a longer time, leaving little to no scope for errors in the releases. The longer waiting period opens a longer window in which the organization developing the apps may have to deal with serious blow on their reputation and upstanding. Continuous testing prevents the possibility of this happening by ensuring that only high-quality code is released into production. Guy Arieli, CTO at Experitest, explains it well in a recent podcast, “If your website sucks, no one really knows about it. This is not the case if you have a bad mobile application. If you have a low-quality mobile application, very quickly it will get rated, and no one will download it. The visibility of your result is a different thing. The other thing is that the complexity of distributing your result. In the case of the website, if you have a bug, you can fix it, and in the next refresh, all your customers will experience the new fix; in mobile, this turnaround can take a few weeks. You need to upload your application to the app store, and then either Apple or Google needs to approve it, and then your customers need to download it. This cycle is much longer, and because it’s much longer, if you have a problem in your application, you will face a longer down time, or a longer reputational damage, than in your website. So this is one

  3. part of your question. The key, obviously, in order to avoid those big pitfalls, is to test your application and automate it. I don’t see any other way but to have a real, high-scale automation project.” Ultimately, the releases are more reliable and low-risk resulting in higher productivity, more efficiency, and greater customer satisfaction. QA challenges with implementing CI/CD in an organization Some of the common challenges faced with continuous testing while implementing a CI/CD pipeline within an organization are related to requirements ambiguity, orchestration, scalability and complexity, feedback loops, and test environments. Manually designing tests can result in inaccuracy and ambiguity in the requirements, which can negatively impact the outcome of the complete continuous testing process. Further, the difficulties with test data extraction, maintenance, integration, and management can affect the productivity of continuous testing cycle. The lack of appropriate tools required for scaling the testing process and the unavailability of test environments due to parallel integration and delivery can also render a CI/CD/CT pipeline ineffective. How can we help? With a rich experience in DevOps testing and implementation, we enable our clients to foster an environment of Continuous Integration (CI)/Continuous Testing (CT) for integration of automated software testing with deployment and operations to improve code quality, Continuous Release & Deployment for faster time-to-market and frequency in response to business changes, Continuous monitoring to help improve quality by monitoring performance, and Continuous feedback & improvement across the software lifecycle. By doing so, we accelerate the release of applications into production, improve the efficiency and utilization of resources, and streamline the CI/CD pipeline.

More Related