chaperon v0.3.1 Chaperon.Scenario.Sequence View Source

Implements Chaperon.Scenario and runs a configured list of scenarios in sequence, passing along any session assignments as config values to the next scenario in the list. Makes it easy to define a new scenario as a pipeline of a list of existing scenarios.

Example usage:

alias Chaperon.Scenario
alias MyScenarios.{A, B, C}

Chaperon.Worker.start(
  Scenario.Sequence,
  Scenario.Sequence.config_for([A, B, C])
)

Link to this section Summary

Link to this section Functions

Link to this function

config_for(scenarios, config \\ %{})

View Source