Evidence
A green build is a claim, not proof
Every engineer has heard it. The pipeline is green, so it should be fine. Most of the time it is. But a green build only tells you that the checks you wrote passed. It doesn't tell you whether you wrote the right checks, or whether the result is actually correct.
I treat a passing build as a claim. My job is to find out whether the claim is true.
$ npx playwright test ✓ account › signs up and verifies email 1.9s ✓ orders › places an order 2.4s ✓ payments › refunds in full 1.6s ✓ reports › totals are shown 1.2s 48 passed (1.1m) $ verify results --against source-data ! 2 reported totals don't match the ledger → all green, still wrong. that's my cue.
When everything passed and the feature was still wrong
I once picked up a new feature shortly before release that automatically applied a promo code for new customers. It worked exactly as specified. Every test passed.
It also quietly made referral codes unredeemable. A customer arriving through a friend's referral would have lost the reward they were promised. No test failed, because every test checked the specification, and the specification had a gap.
We stopped the release before the deadline. I brought four options to the team, each with its risk and cost, and we chose the one with the fewest deployments and code changes. The broken journey never reached a customer.
The tests weren't wrong. They were answering a narrower question than the one that mattered.
When the tests were failing for a real reason
The opposite happens too. A set of integration tests kept failing, and the tempting fix was to call them flaky and retry them until they went green. Instead I traced them back and found a real gap in how saved cards had been carried over in a migration. Retrying would have hidden a problem that customers would eventually have found for us.
What I check besides the tick
- The source of truth. Does the result match the data it came from, not just the response the system returned?
- The edges of the specification. What does this change do to the journeys next to it?
- What happens next. Will the next system, team or customer get what they expect?
- Whether the test can fail. A test that has never failed might not be testing anything.
None of this means distrusting the team or the pipeline. It means treating evidence as evidence, and a green tick as the start of the question, not the end of it.
Thoughts or questions? I'd love to hear them. Message me on LinkedIn.