config/cucumber.yml in locomotive_cms-1.0.0.beta.2 vs config/cucumber.yml in locomotive_cms-2.0.0.rc1

- old
+ new

@@ -1,2 +1,8 @@ -default: features --require features --format pretty --color --tags ~@wip -wip: features --require features --tags @wip +<% +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'] || 'progress'} --require features --strict --tags ~@wip" +%> +default: <%= std_opts %> features +wip: --tags @wip:3 --wip features +rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip