cucumber.yml 470 Bytes
Newer Older
1 2 3 4 5
<%
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} --strict --tags ~@wip"
%>
Alec Leamas's avatar
Alec Leamas committed
6 7
default: <%= std_opts %> -r features
wip: -r features --tags @wip:3 --wip features
8
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip