include step definitions when rerunning failed cukes

pull/4061/head
Jens Ulferts 9 years ago
parent 16393b5bec
commit d182d2e249
  1. 2
      lib/tasks/parallel_testing.rake

@ -122,7 +122,7 @@ namespace :parallel do
cucumber_options = "-o ' -p rerun #{support_files}'"
cmd = "bundle exec parallel_test --type cucumber #{cucumber_options} #{group_options} features"
cmd += ' || bundle exec cucumber -p rerun'
cmd += " || bundle exec cucumber -p rerun #{support_files}"
if File.exist? 'tmp/cucumber-rerun.txt'
sh 'rm tmp/cucumber-rerun.txt'

Loading…
Cancel
Save