skel/config/cucumber.yml in cuke-pack-0.0.1 vs skel/config/cucumber.yml in cuke-pack-0.0.2
- old
+ new
@@ -1,8 +1,12 @@
<%
-std_opts = "-r features --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} -f Cucumber::StepWriter --out features/step_definitions --strict"
+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: FAILFAST=true <%= std_opts %> --tags ~@wip:0 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