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.
More from coding & agent
- Google Gemini rolls out a central hub for custom skills and connected apps — sysrpl · 2026-10-29
- New Prompt Optimization Beats GEPA by ~14% and Estimates Performance Bounds — sanmikoyejo · 2026-10-29
- New Chinese book 'Codex: From Beginner to Master' targets hands-on Codex learners — lxfater · 2026-10-29
- SJTU's TAO Cuts LLM Agent Serving Latency Up to 26.8% With Tool-Aware Joint Scheduling — AIOR-Research · 2026-10-29
- Monopoly game fully written by Claude in a single day — sysrpl · 2026-10-29
- Apple Paper: Tool-Use Agents Gain More From Data Diversity Than More Tasks — rohanpaul_ai · 2026-10-29