aboutsummaryrefslogtreecommitdiffstats
path: root/config/cucumber.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config/cucumber.yml')
-rw-r--r--config/cucumber.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/cucumber.yml b/config/cucumber.yml
new file mode 100644
index 0000000..368422a
--- /dev/null
+++ b/config/cucumber.yml
@@ -0,0 +1,10 @@
+<%
+ENV["RAILS_ENV"] ||= "test"
+require ::File.expand_path('../spec/dummy/config/environment', __FILE__)
+rerun = IO.read('rerun.txt') if File.file?('rerun.txt')
+rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
+std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} --strict --tags ~@wip -r features"
+%>
+default: <%= std_opts %>
+wip: --tags @wip:3 --wip features
+rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip \ No newline at end of file