MixTestInteractive.Settings (mix test.interactive v1.0.0) View Source
Interactive mode settings.
Keeps track of the current settings of MixTestInteractive.InteractiveMode
, making changes
in response to user commands.
Link to this section Summary
Functions
Update config to run all tests, removing any flags or filter patterns.
Assemble command-line arguments to pass to mix test
.
Create a new state struct, taking values from the command line.
Update config to only run failing tests.
Provide a list of file-name filter patterns.
Update config to only run "stale" tests.
Return a text summary of the current interactive mode settings.
Toggle file-watching mode on or off.
Link to this section Types
Specs
Link to this section Functions
Specs
Update config to run all tests, removing any flags or filter patterns.
Specs
Assemble command-line arguments to pass to mix test
.
Includes arguments originally passed to mix test.interactive
when it was started
as well as arguments based on the current interactive mode settings.
Specs
Create a new state struct, taking values from the command line.
In addition to its own options, new/1 initializes its interactive mode settings from some of
mix test
's options (--failed
, --stale
, and any filename arguments).
Specs
Update config to only run failing tests.
Corresponds to mix test --failed
.
Specs
Provide a list of file-name filter patterns.
Only test filenames matching one or more patterns will be run.
Specs
Update config to only run "stale" tests.
Corresponds to mix test --stale
.
Specs
Return a text summary of the current interactive mode settings.
Specs
Toggle file-watching mode on or off.