DavidKPiano: model-based tests replaced E2E suites with faster runs and more bugs found

DavidKPiano · x · 2026-11-24

In a discussion with José Valim, DavidKPiano clarifies that PBT is random-with-seed while MBT uses deliberate coverage criteria. He converted 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, runs are faster, coverage is broader, and it surfaced bugs the original tests missed. Thoroughness depends on the path generation strategy you choose.

Related event: David Khourshid and José Valim discuss model-based testing over formal verification(5 posts)→

Original post →

More from coding & agent

coding & agent channel →