Welcome to Kenny-s Blog

canary (canary test, canary deployment)

Part of the Software development glossary:

In software testing, a canary is a push of programming code changes to a small group of end users who are unaware that they are receiving new code. Because the canary is only distributed to a small number of users, its impact is relatively small and changes can be reversed quickly should the new code prove to be buggy. Canary tests, which are often automated, are run after testing in a sandbox environment has been completed.

For incremental code changes, a canary approach to delivering functionality allows the development team to quickly evaluate whether or not the code release provides the desired outcome. The word canary was selected to describe the code push to a subset of users because canaries were once used in coal mining to alert miners when toxic gases reached dangerous levels. Like the canary in a coal mind, the end user who is selected to receive new code in a canary test is unaware he is being used to provide an early warning.

In canary testing, a small subset of traffic serves as a test for updates. If anything in the update causes problems, it alerts the IT team before a large group of users feel the effects.In canary testing, a small subset of end users serves as a test group for updates. If anything in the update causes problems, it alerts the IT team before a large group of users feel the effects.

This was last updated in November 2016
Posted by:Margaret Rouse

Have something to add? Share it in the comments.

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