
Your Golden Tests Are Passing for the Wrong Reason
Golden tests are the highest-leverage UI test in Flutter and the easiest to turn into a rubber stamp. The first one you write renders every glyph as a black box, because the test environment has no fonts; shadows are flattened into hard blocks; and the pixels depend on the host OS and the Flutter version, so a suite generated on a Mac fails on Linux CI. Here is the setup that makes goldens honest, the matrix actually worth paying for, what they cannot test, and the review rules that decide whether the whole suite earns its maintenance.










