cucumber.yml 465 B

123456789
  1. <%
  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'] || 'pretty'} --strict --tags ~@wip -r features"
  5. %>
  6. default: <%= std_opts %> features
  7. wip: --tags @wip:3 --wip features
  8. rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip