Testing

2026


Snapshot precision 0.99 let a wrong text line pass all seven screen tests

A SwiftUI screen suite recorded with swift-snapshot-testing at precision: 0.99 stayed green after the row's location text was deliberately wired to the wrong value. On a full device frame, 1% of the pixels is about 30,000, and the wrong text changed about 900. Measuring the mutation and setting precision to 0.9999 turned four of the seven cases red.
·4 mins

Zero failures is suspicious: agent checks that silently ran nothing

Three times a coding agent read a result from a check that never ran: zsh's `log` builtin (`(eval):log:1: too many arguments`) hid `/usr/bin/log`, `cargo test --exact` matched no test and passed, and an empty variable from "argument list too long" made 400 of 400 runs fail.
·4 mins