Mix.Tasks.Espec
Runs the specs.
This task starts the current application, loads up
spec/spec_helper.exs and then requires all files matching the
spec/**/_spec.exs pattern in parallel.
A list of files can be given after the task name in order to select the files to compile:
mix espec spec/some/particular/file_spec.exs
Command line options
--focus- run examples withfocus--silent- no output--order- run examples in the order in which they are declared--format- choose formatter (‘doc’, ‘html’, ‘json’)
Summary↑
| parse_file(file) | |
| parse_files(files) | |
| run(args) | Callback implementation for |
Functions
Callback implementation for c:Mix.Task.run/1.