Converting E2E tests to model-based tests: faster runs, more bugs found
DavidKPiano · x · 2026-11-24
Responding to Jose Valim's case for model-based testing (MBT), David Khourshid reports first-hand results converting a batch of existing E2E tests to model-based tests, using their transition sequences to build the model. A single walk covers multiple E2E tests, coverage improved, and it surfaced bugs the original tests missed; thoroughness is tunable via path generation strategy. He concludes PBT and MBT are complementary, and @xstate/test uses them together.
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