View Source mix criterion.gen.features (Criterion v0.1.12)
This Mix task scans the project for tests written using the Criterion
module and generates
corresponding feature files in Gherkin syntax.
Usage
mix criterion.gen.features --dir <directory>
Options
--dir
- specify the directory to read test files from. default istest
--file
- to generate feature files for a list of test files--output
- specify the directory to generate feature files in. default istest/features
The task will create the specified directory (default is features
) and generate a .feature
file for each test file
in your project, converting the Criterion tests into Gherkin syntax.
Summary
Functions
Callback implementation for Mix.Task.run/1
.
Functions
Callback implementation for Mix.Task.run/1
.