Permalink
Browse files

add cuke config

  • Loading branch information...
1 parent ed9f50f commit 6f4d7d1bfeb56a19e573d22a7de7c392dcaeab22 @dchelimsky dchelimsky committed Mar 8, 2010
Showing with 8 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +7 −0 cucumber.yml
View
@@ -5,3 +5,4 @@ rdoc
pkg
doc
tmp
+rerun.txt
View
@@ -0,0 +1,7 @@
+<%
+rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
+rerun_opts = rerun.to_s.strip.empty? ? "--format progress features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
+std_opts = "#{rerun_opts} --require features --format rerun --out rerun.txt --strict --tags ~@wip"
+%>
+default: <%= std_opts %>
+wip: --tags @wip:3 --wip features

0 comments on commit 6f4d7d1

Please sign in to comment.