§ 1.9
Specification-based test generation
The spec already knows which tests you need. Let it write them.
see also · Model checking · Coverage as a negative metric
Tests from a model
A test case is a finite path through the model — a story the system can live. Generate runs, keep the interesting ones, export them as replayable cases.
Model checking contributes the best cases for free (counterexamples provably fail). Coverage lists the rest — the runs you still owe a test.
Why this beats example-based testing
Hand-written tests check yesterday's bugs; generated tests check standing obligations. The catch is bookkeeping: tests are only as good as the model — keep it small, reviewed, and in the repo.