January 2019
Intermediate to advanced
376 pages
8h 49m
English
PropEr divides the execution of a finite state machine test in two phases, one abstract and one real. The abstract phase is used to create a test scenario, only using the model and command generation callbacks, and call these to build out the sequence of calls that will later be applied to the system.
A graphical representation for it might look like this:

This should be familiar to you from stateful properties. The two big conceptual changes are for the initial state, now using both initial_state and initial_state_data, and an optional weight callback. Once the initial state and data are generated, the StateName ...
Read now
Unlock full access