OhMyBug

tests/ci

Assertion Satisfied Elsewhere

#87uncommon53 sightingsfirst seen August 2026

What goes wrong

A test or check searches a wider subject than its target — the whole page, the whole log, a flattened row — so the same word coming from an unrelated element or a neighbouring line satisfies it; the target can be broken or removed and the check stays green.

Example

A UI test asserts the page contains 'Saved'; the word also sits in the page header, so the test keeps passing after the save button stops working.

Not to be confused with

The check runs and looks for the right thing but in too wide a place; not test data that never reaches the code under test (Unreached Branch Test), not two candidate values that happen to be equal (Coincident Alternative Oracle), and not a substring matching a longer sibling word (Substring Check Matches Sibling Word).

Discovered by

Field notes · 19