A field guide to testing in production.
Six kinds of testing in production, drawn as a field guide, with the bird in all six.
The six kinds, in order: Feature flag, Canary release, A/B test, Chaos experiment, Synthetic monitor, Smoke test. Choose one to see the bird’s part in it.
A smoke test on Tue, Nov 17, with the release on staging. The bird made a new account, verified it and saved a first schedule. On the upgrade page the plans never loaded, so nobody could choose one. The release was not live yet, so no customer met it.
A synthetic monitor: the weekly check of the live site on Mon, Nov 23. All four steps worked. The bird stopped at the plans, before anything is paid for.
Feature flag: Ship it switched off. Turn it on for the bird, then for customers. With a link that turns it on, or by the bird’s IP addresses. The bird’s ledger: sign up, account made; new setup, saved.
Canary release: The new version goes to a few first. Make the bird the first of them. At the new version’s own address, or by the bird’s IP addresses. The bird’s ledger: sign up, account made; verify the email, link opened; first schedule, saved.
A/B test: Two versions at once. The bird tries both before customers see either. With each version’s link. The bird’s ledger: button works, both versions.
Chaos experiment: Break something on purpose. The bird shows what a new customer can still do. On staging, while the service is stopped. The bird’s ledger: sign up, account made; first schedule, saved; import the team, failed: stuck at 0%.
Synthetic monitor: A customer’s visit, on a schedule, with no script to keep up. A synthetic monitor: the weekly check of the live site on Mon, Nov 23. All four steps worked. The bird stopped at the plans, before anything is paid for. The bird’s ledger: sign up, account made; verify the email, link opened; first schedule, saved; upgrade page, plans shown. Juniper Row’s upgrade page shows its two plans, Starter and Teams.
Smoke test: The few things that must work, tried before a release and after it. A smoke test on Tue, Nov 17, with the release on staging. The bird made a new account, verified it and saved a first schedule. On the upgrade page the plans never loaded, so nobody could choose one. The release was not live yet, so no customer met it. The bird’s ledger: sign up, account made; verify the email, link opened; first schedule, saved; upgrade page, failed: plans won’t load. Juniper Row’s upgrade page says We couldn’t load plans. Graded D.


