Porterage v0.1.0 Porterage.Tester.MFArgs View Source

Tester based on usage of Kernel.apply/3 calls.

The configured callable will receive a state value as the first parameter. On the first run it will always be nil and afterwards the return value of the last execution.

The return value is expected to be {new_state, result}.

Configuration

{
  tester: Porterage.Tester.MFArgs,
  tester_opts: %{mfargs: {_, _, _}}
}

See options/0 for a specification of available options.

Link to this section Summary

Link to this section Types

Link to this type

options()

View Source
options() :: %{mfargs: {module(), atom(), [any()]}}