Skip to content

Commit

Permalink
simplify cucumber.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Jul 3, 2010
1 parent f734107 commit 1498f60
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions cucumber.yml
@@ -1,7 +1,2 @@
<% default: --require features --tags ~@wip features
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : "" wip: --require features --tags @wip:3 --wip features
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 1498f60

Please sign in to comment.