tracks/config/cucumber.yml

10 lines
500 B
YAML
Raw Normal View History

2010-01-13 20:39:28 +01:00
<%
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
rerun_opts = rerun.to_s.strip.empty? ? "--format progress " : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
requires = "-r features/support/env.rb -r features/step_definitions"
std_opts = "#{rerun_opts} #{requires} --format rerun --out rerun.txt --strict --tags ~@wip"
2010-01-13 20:39:28 +01:00
%>
default: <%= std_opts %> --tags ~@selenium
selenium: <%= std_opts %> --tags @selenium -r features/support/selenium.rb
2010-01-13 20:39:28 +01:00
wip: --tags @wip:3 --wip features