Parallel execution of features files : maven-failsafe-plugin vs cucumber-jvm-parallel-plugin

那年仲夏 提交于 2019-12-06 15:27:21

问题


Currently I'm using maven-failsafe-plugin to run multiple feature files in parallel with Selenium Grid + nodes ( all running in docker containers )

I'm basic questions as below

  1. when to use cucumber-jvm-parallel-plugin ?
  2. what benefits / disadvantages of cucumber-jvm-parallel-plugin over maven-failsafe-plugin parallel execution ?

Thanks in advance.


回答1:


Below is the answer

"A common approach for running Cucumber features in parallel is to create a suite of Cucumber runners, one for each suite of tests you wish to run in parallel. For maximum parallelism, there should be a runner per feature file. This is a pain to maintain and not very DRY."

https://github.com/temyers/cucumber-jvm-parallel-plugin/issues/139

additional details -

..Despite its name cucumber-jvm-parallel-plugin does not run any tests, it just automatically generates the Cucumber runners for you. This saves you time from making empty runner files and also just by changing the config of the cucumber-jvm-parallel-plugin you can have brand new set of runner files..

copied from http://automationrhapsody.com/running-cucumber-tests-in-parallel/#comment-3455579028



来源:https://stackoverflow.com/questions/45436476/parallel-execution-of-features-files-maven-failsafe-plugin-vs-cucumber-jvm-par

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!