package qcheck-stm
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=ed5980f1cfbfa1e2d2ec5a87954dddf8
sha512=90c451903adb7cbd83aa0f2ad7738d662edc23affb669ed762564cdb2e140ca931afeaabc199fbb6028163fc41c17049961bef7fd2664c677cb1df552d10736d
doc/qcheck-stm.sequential/STM_sequential/Make/index.html
Module STM_sequential.MakeSource
Parameters
Signature
A precondition checker (stops early, thanks to short-circuit Boolean evaluation). Accepts the initial state and the command sequence as parameters. cmds_ok catches and ignores exceptions arising from next_state.
A generator of Spec.cmd sequences. Accepts the initial state as a parameter. arb_cmds catches and ignores generation-time exceptions arising from Spec.next_state.
The agreement property: the command sequence cs yields the same observations when interpreted from the model's initial state and the sut's initial state. Cleans up after itself by calling Spec.cleanup.
An actual agreement test (for convenience). Accepts two labeled parameters: count is the test count and name is the printed test name.
A negative agreement test (for convenience). Accepts two labeled parameters: count is the test count and name is the printed test name.