13 lines
516 B
YAML
13 lines
516 B
YAML
<%
|
|
std_opts = "--color -r features --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} -f Cucumber::StepWriter --out features/step_definitions --strict"
|
|
%>
|
|
default: <%= std_opts %> features
|
|
wip: <%= std_opts %> --tags @wip features
|
|
precommit: <%= std_opts %> --tags ~@wip:0 --tags @no-precommit features
|
|
|
|
# or enable FAILFAST to have your tests end immediately on failure
|
|
#precommit: FAILFAST=true <%= std_opts %> --tags ~@wip:0 features
|
|
|
|
cleanup: <%= std_opts %> -f Cucumber::CleanupFormatter --out unused.txt features
|
|
|