OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/config/cucumber.yml

9 lines
577 B

<%
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'] || 'pretty'} --strict --tags ~@wip"
%>
default: <%= std_opts %> features -r <%= "#{ENV['RAILS_ROOT']}/features" %> -r features --guess
wip: --tags @wip:3 --wip features -r <%= "#{ENV['RAILS_ROOT']}/features" %> -r features --guess
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip