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