How do I restart failed scripts with parallel_tests?

I have a rerun.txt file in my project root =>

config/
features/
rerun.txt

      

rerun.txt =>

features/auth.feature:11

      

I am trying this:

bundle exec parallel_cucumber @rerun1.txt -o "ENV=.$env BROWSER=chrome" --group-by scenarios -n 2 

      

=>

17:04:51 features/myroom/vacancy-add.feature:65:63:62:64/usr/local/rvm/gems/ruby-2.1.3/gems/cucumber-1.3.19/lib/cucumber/feature_file.rb:58:in `initialize': No such file or directory - @rerun1.txt. Please create a @rerun1.txt directory to get started. (Errno::ENOENT)

      

and this:

bundle exec parallel_cucumber features/ -o "ENV=.$env BROWSER=chrome @rerun1.txt" --group-by scenarios -n 2

      

but this is the execution of all scripts in functions / folder

+3


source to share


1 answer


I haven't used this before, but I believe the symbol @

you added to the command line is the culprit. Try:



bundle exec parallel_cucumber ./rerun1.txt -o "ENV=.$env BROWSER=chrome" --group-by scenarios -n 2

      

0


source







All Articles