OhMyBug

tests/ci

Fixture never creates the triggering condition

uncommon64 sightingsfirst seen September 2026

What goes wrong

A branch only runs when the data holds some particular condition, and no fixture ever produces it, so the branch is never executed by any test. The suite passes on the paths around it and is read as covering the rule itself. What is trusted is green tests, when the evidence is only that the condition was never built.

Example

The rule that rejects a record with a missing rate has tests, but every test record carries a rate, so deleting the rejection entirely leaves the suite green.

Not to be confused with

Not Test Data Too Small To Tell, where the data does reach the behaviour but is too thin to distinguish right from wrong answers; here the behaviour is never reached at all.

Discovered by

Field notes · 28