Commit b38611efc92a809df3e9c3dcf8f6ea54188da282
1 parent
1960557d
Exists in
master
and in
29 other branches
changing cucumber enviroments - simpler is better
Showing
1 changed file
with
2 additions
and
8 deletions
Show diff stats
config/cucumber.yml
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'] || 'progress'} --strict --tags ~@wip" | |
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 | |
1 | +default: --strict --tags ~@selenium --exclude features/support/selenium.rb --exclude features/step_definitions/selenium_steps.rb -r features/support -r features/step_definitions | |
2 | +selenium: --strict --tags @selenium -r features/support -r features/step_definitions | ... | ... |