Reading PRs through behavior tests: green lines mean additions, red lines mean changes

samgoodwin89 · x · 2026-10-29

A quick way to assess a PR via behavior tests: all-green lines mean only new behavior, red lines mean changed or removed behavior (review carefully), with tests expressed as user stories in your own terms — focusing on behavior and architecture, not mechanics.

The quoted foldkit Scene test demonstrates the idea: it covers invariants like prices staying hidden until domain checks complete, Top Results being addable to cart while checks are pending, and later results appearing without clearing loaded ones — exercising the real update and view with deterministic control over request timing, no browser, function mocks, or network interception.

Original post →

More from coding & agent

coding & agent channel →