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 --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 %> |