A post-condition for a command that must be verified for the command to be considered a success.
Executes a command using the arguments generated by gen.
A generator which provides random arguments for a command.
A generator which provides random arguments for a command.
If the command cannot be executed in the current state, it should return None
.
Updates the model state, given the input and output of the command.
Render the input for displaying in test output.
Render the input for displaying in test output.
The default is to use toString
, but optionally can support being overridden.
A pre-condition for a command that must be verified before the command can be executed.
A pre-condition for a command that must be verified before the command can be executed. This is mainly used during shrinking to ensure that it is still OK to run a command despite the fact that some previously executed commands may have been removed from the sequence.
Return a list of _all_ Var
instances referenced by Input
Return a list of _all_ Var
instances referenced by Input
Failure to do this correctly will result in missing variable errors during shrinking.
(Since version ) see corresponding Javadoc for more information.
The specification for the expected behaviour of an
Action
.