MixTestInteractive.Config (mix test.interactive v5.0.0)

View Source

Configuration for the task.

Summary

Functions

Create a new config struct, taking values from the application environment.

Types

t()

@type t() :: %MixTestInteractive.Config{
  ansi_enabled?: boolean() | nil,
  clear?: boolean(),
  command: {String.t(), [String.t()]},
  exclude: [Regex.t()] | nil,
  extra_extensions: [String.t()],
  runner: module(),
  show_timestamp?: boolean(),
  task: String.t(),
  verbose?: boolean()
}

Functions

load_from_environment()

@spec load_from_environment() :: t()

Create a new config struct, taking values from the application environment.