我的项目根目录=>
中有文件rerun.txtconfig/
features/
rerun.txt
rerun.txt =>
features/auth.feature:11
我试试这个:
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)
和此:
bundle exec parallel_cucumber features/ -o "ENV=.$env BROWSER=chrome @rerun1.txt" --group-by scenarios -n 2
但这会执行功能/文件夹中的所有方案
答案 0 :(得分:0)
我之前没有使用过这个,但我相信你添加到命令行的@
符号是罪魁祸首。尝试:
bundle exec parallel_cucumber ./rerun1.txt -o "ENV=.$env BROWSER=chrome" --group-by scenarios -n 2