Defects that ship with every gate green, and the measurements that pay for them.
A test suite is defined as much by what it cannot measure as by what it can, and four classes were measured one by one on this project. jsdom applies the inert attribute but not its semantics: calling focus() on a button behind a sheet succeeds in jsdom and is refused by a real browser. So every inert test here measures the attribute, and the browser guarantees the behaviour.

The real behaviour of a mocked dependency
The second is the real behaviour of a mocked dependency. The notification library accepts an offset value, reads it correctly, and ignores it on every viewport under 600 pixels because of its own stylesheet; with both suites green, the banner covered 28 pixels of the phone's status bar.
One file, three status codes, and a string
The third is that adding one file to a directory collapsed three distinct status codes into 200. The fourth is that a DOM tree does not stand in for an HTML string: whether a script body actually closes can only be read from the bytes the server put on the wire. All four share one antidote, take the assertion from the last observable point rather than from the simulation layer.
Tags
- Testing
- Accessibility