Skip to content

Instantly share code, notes, and snippets.

@dreamr
Created January 10, 2010 22:56
Show Gist options
  • Save dreamr/273846 to your computer and use it in GitHub Desktop.
Save dreamr/273846 to your computer and use it in GitHub Desktop.
<%
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} --format rerun --out rerun.txt --strict --tags ~@wip"
%>
default: <%= std_opts %>
wip: --tags @wip:3 --wip features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment