DavidKPiano makes the case for model-based testing: generate tests from state machines
DavidKPiano · x · 2026-11-24
David Khourshid introduces model-based testing (MBT) with a new Stately tutorial. Unlike formal verification, which proves logic matches a spec, MBT checks the app actually follows it: a state machine lets the runner generate event sequences covering paths hand-written E2E tests miss. Best when event order matters; costs include model authoring, app resets, assertions, and CI time. XState makes it easy.
More from coding & agent
- Anthropic launches Claude Ship beta as Boris Cherny says Opus 4.5 writes 100% of his code — yuwen_lu_ · 2026-11-24
- Claude builds a website that turns horrifying as you scroll — round · 2026-11-24
- Cloudflare ships on-demand profiling for Workers, pairs it with pre-merge agent checks — dinasaur_404 · 2026-11-24
- Google Antigravity adds checklists for long-running agent tasks, demo audits X API costs — Swarooprm7 · 2026-11-24
- Inkling-2-Mini vision ported to Metal: Kapitsa reads screenshots on Apple Silicon at 0.2s per image — Academic-Most6214 · 2026-11-24
- Neo4j Relate Hackathon: build an AI agent on its open-source embedded graph database, Mac Studio grand prize — JeremyCMorgan · 2026-11-24