Vouch 3.0 is live, with a merge gate for every pull request.

Vouch 3.0 is live, with a merge gate for every pull request.

Guide

7 min read

How to tell a real bug from a flaky test

A red test is a question, not an answer. This framework sorts failures into product bugs, test problems and environment issues in a few minutes.

Dana Okafor

Head of quality

Abstract green cover art for the article How to tell a real bug from a flaky test

Every team has stood around a red build asking the same question: is it real? The cost of a wrong answer runs both ways. Ignore a real bug and it ships. Chase a flaky test and the morning is gone.

Three kinds of failure

A failure is a product bug when the app did something a user would call wrong. It is a test problem when the app behaved and the check was mistaken. It is an environment issue when neither is at fault and a dependency, a seed or a deploy was not ready. Sorting into these three buckets comes first, before anyone opens the code.

Evidence that settles it

A replay of the session answers most cases in under a minute. Expected versus actual, the failing step and its neighbours, and a snapshot of the page at that moment answer the rest. If your failures arrive without this, the tooling is making you do detective work it should have done.

Track which bucket each failure lands in for a month. The split will tell you whether to invest in the product, the suite or the pipeline.

Ship at agent speed. Merge knowing it works.

Start free with one app and one flow. Your first verdict takes about ten minutes.

Run 483 on preview

8 of 8 passed

Promo code applies discount

Checkout with a saved card

Guest checkout by email

Order shows in the account

Ready to merge. Replay attached.

Create a free website with Framer, the website builder loved by startups, designers and agencies.