Runbox.Scenario (runbox v26.0.0)

View Source

Holds information about scenario.

Instances of this struct are created internally by Runbox. It is documented only because other public APIs may optionally consume this struct.

Summary

Types

component_def()

@type component_def() :: %{id: term(), mod: module(), fun: atom(), args: map()}

t()

@type t() :: %Runbox.Scenario{
  manifest: Runbox.Scenario.Manifest.t(),
  opts: map(),
  templates: [Runbox.ScenarioTemplate.t()]
}

Functions

get_impl_for(binary)

@spec get_impl_for(Runbox.Scenario.Type.t()) :: %{template_inspector: module()}

manifest_module?(module)

@spec manifest_module?(module()) :: boolean()

template_module?(module, manifest_module)

@spec template_module?(module(), module()) :: boolean()