Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects simply to a non-technical, business audience. Over…
A canary test, also known as a canary deployment or canary release, is a form of A/B testing used in Agile software development.
In a canary test, software releases are first deployed to a small group of end users referred to as canaries. If the canary group experiences problems after the release, the DevOps team knows the code is not ready to be deployed.
The term is believed to have been inspired by 19th century coal miners who would take canaries into the mines with them as a warning system for toxic gases. If a canary died, it was an indication that the air quality in the mine was unsafe, and the miners would know to leave the mine immediately.
Canary tests allow developers to test code changes under real-world conditions and gain a better understanding of how they will perform in a live environment. This type of user acceptance test (UAT) is often used to support continuous delivery because it provides a smooth deployment process.
Canary testing reduces the risk of introducing new changes that may cause unexpected issues or outages. By beta testing the changes on a small subset of users first, developers can identify and fix problems before they affect the entire user base.
Some challenges of conducting canary tests include the following:
Techopedia’s editorial policy is centered on delivering thoroughly researched, accurate, and unbiased content. We uphold strict sourcing standards, and each page undergoes diligent review by our team of top technology experts and seasoned editors. This process ensures the integrity, relevance, and value of our content for our readers.
Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.
What is GitHub? GitHub is a vast platform that changes how software developers work together on projects. It's more than...
Maria WebbTechnology journalist
What is a Super App? A super app is a comprehensive mobile or web-based platform that offers a wide range...
Nicole WillingTechnology Journalist
What is Windows AI Studio? Windows AI Studio is a software development environment that allows developers to build generative AI...
Margaret RouseTechnology Expert
Trending NewsLatest GuidesReviewsTerm of the Day