Configuration struct for a Cucumber run.
Summary
Functions
Merge a keyword list of options into a Config.
Apply strict shorthand: :strict implies :strict_undefined and :strict_pending.
Types
@type t() :: %Cucumberex.Config{ backtrace: term(), color: term(), dry_run: term(), duration: term(), exclude: term(), expand: term(), fail_fast: term(), formatters: term(), hook_registry: term(), language: term(), lines: term(), name: term(), order: term(), output: term(), param_type_registry: term(), paths: term(), profile: term(), random_seed: term(), require: term(), retry: term(), retry_total: term(), snippet_type: term(), snippets: term(), source: term(), step_modules: term(), step_registry: term(), strict: term(), strict_flaky: term(), strict_pending: term(), strict_undefined: term(), support_modules: term(), tags: term(), verbose: term(), wip: term(), world_factory: term() }
Functions
Merge a keyword list of options into a Config.
Examples
iex> Cucumberex.Config.from_opts(paths: ["features/a.feature"]).paths
["features/a.feature"]
iex> Cucumberex.Config.from_opts([]).order
:defined
Apply strict shorthand: :strict implies :strict_undefined and :strict_pending.
Examples
iex> Cucumberex.Config.normalize(%{strict: true, strict_undefined: false, strict_pending: false})
%{strict: true, strict_undefined: true, strict_pending: true}
iex> Cucumberex.Config.normalize(%{strict: false})
%{strict: false}