Created
June 22, 2010 02:23
-
-
Save aeden/447835 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
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" | |
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