View Source MixTestInteractive.Settings (mix test.interactive v3.2.0)
Interactive mode settings.
Keeps track of the current settings of MixTestInteractive.InteractiveMode
, making changes
in response to user commands.
Summary
Functions
Update settings 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 settings to only run failing tests.
Provide a list of file-name filter patterns.
Update settings to only run "stale" tests.
Return a text summary of the current interactive mode settings.
Toggle file-watching mode on or off.
Types
Functions
Update settings to run all tests, removing any flags or filter patterns.
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.
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).
Update settings to only run failing tests.
Corresponds to mix test --failed
.
Provide a list of file-name filter patterns.
Only test filenames matching one or more patterns will be run.
Update settings to only run "stale" tests.
Corresponds to mix test --stale
.
Return a text summary of the current interactive mode settings.
Toggle file-watching mode on or off.