Skip to content

Instantly share code, notes, and snippets.

@kmayer
Forked from aeden/gist:447835
Created June 22, 2010 02:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmayer/447836 to your computer and use it in GitHub Desktop.
Save kmayer/447836 to your computer and use it in GitHub Desktop.
cucumber.example.yml
<%
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 --tags ~@pending --color --require features/"
all_opts = "--format progress --strict --tags ~@wip --tags ~@pending --color"
%>
autotest: --format pretty --tags @wip --wip --tags ~@spreedly features
autotest-all: --format progress --tags ~@pending --tags ~@spreedly features
default: <%= std_opts %>
all: <%= all_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