cuke-pack/skel/config/cucumber.yml

13 lines
517 B
YAML
Raw Normal View History

2012-04-25 13:29:52 +00:00
<%
2013-01-25 17:24:33 +00:00
std_opts = "--color -r features --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} -f Cucumber::StepWriter --out features/step_definitions --strict"
2012-04-25 13:29:52 +00:00
%>
default: <%= std_opts %> features
wip: <%= std_opts %> --tags @wip features
2013-01-25 19:44:38 +00:00
precommit: <%= std_opts %> --tags ~@wip:0 --tags ~@no-precommit features
2013-01-25 00:32:46 +00:00
# or enable FAILFAST to have your tests end immediately on failure
#precommit: FAILFAST=true <%= std_opts %> --tags ~@wip:0 features
2012-04-25 13:29:52 +00:00
cleanup: <%= std_opts %> -f Cucumber::CleanupFormatter --out unused.txt features