2 rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
3 rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
4 std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} --strict --tags ~@wip"
6 default: <%= std_opts %> features
7 wip: --tags @wip:3 --wip features
8 rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip