0

I have 2 feature file that include multiple scenarios, I want to run the scenarios of each feature file in parallel.

For example:

example1.feature has 2 scenarios

example2.feature has 3 scenarios

How to run the five scenarios in parallel ?

Thanks All :)

Nael Marwan
  • 1,030
  • 1
  • 13
  • 32
  • 1
    You can run feature files in parallel, not sure if you can run scenarios in feature files in parallel. Have a look at --- https://opencredo.com/test-automation-concepts-parallel-test-execution/ for testng --- https://automatictester.wordpress.com/2015/06/11/basic-cucumberjvm-selenium-webdriver-test-automation-framework/ – Grasshopper Mar 16 '17 at 15:45
  • Thanks for your response. I've tried above examples, I don't see any example or data about running scenarios in parallel. And i get error in the POM xml while using cucumber-jvm-parallel-plugin, execution tag is marked in red. – Nael Marwan Mar 16 '17 at 18:47
  • 1
    I have managed to crack this at work and get scenarios to run in parallel as well.. Just never found time to put it out in the open source.. Maybe I will try and do that.. but yeah as mentioned, you can currently only run features in parallel... not more than that.. – Krishnan Mahadevan Mar 17 '17 at 04:00
  • 1
    Hi Krishnan, please share as soon as possible. It will be effective for all of us. Thanks :) – Nael Marwan Mar 18 '17 at 09:15

0 Answers0