tracks/config/cucumber.yml

9 lines
456 B
YAML
Raw Normal View History

2010-01-13 20:39:28 +01:00
<%
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
2010-07-22 13:54:26 +02:00
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"
2010-01-13 20:39:28 +01:00
%>
2012-01-27 11:23:36 +01:00
default: <%= std_opts %> features
wip: --tags @wip:15 --wip features
2010-07-22 13:54:26 +02:00
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip