Skip to content

Commit

Permalink
simplify cucumber.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Jun 8, 2010
1 parent 9485fd6 commit 771e2c9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cucumber.yml
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,3 @@
<% default: --require features --tags ~@wip --format progress
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: --require features --tags @wip:3 --wip features wip: --require features --tags @wip:3 --wip features

0 comments on commit 771e2c9

Please sign in to comment.