tracks/config/cucumber.yml
Reinier Balt c433661048 the project description could now contain markup, like notes
also configure database_cleaner for selenium features
2010-02-12 12:35:19 +01:00

9 lines
500 B
YAML

<%
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"
%>
default: <%= std_opts %> --tags ~@selenium
selenium: <%= std_opts %> --tags @selenium -r features/support/selenium.rb
wip: --tags @wip:3 --wip features