trivago/cucable-plugin

Tests are running sequentially

Hanumanthap24 opened this issue · 4 comments

Hi,

I have couple of questions.
1.I am running my tests in using maven i.e mvn test -Dcucumber.options="--tags @us1"
.I can see 10 features and 10 TestRunner files getting generated.But my problem is that,my tests run sequentially,one after the other.Could you please let me know what all the factors control the parallel execution.My fork Count is 10.
2.When my test are run,
In the end will see a message like this.
java.lang.IllegalArgumentException: Not a file or directory: C:\MyProject\target\parallel\features[CUCABLE:FEATURE].feature.
Could you please help

Thanks,
Hanumantha

Have you tried running the Cucable example project? if you run with mvn test you are not running with Failsafe but with Surefire.
The error message also looks like your setup is wrong. Please create a small example so I can take a look.

Could you please tell me how to run with failsafe?.

My Pom for Failsafe is
xml.txt

@Hanumanthap24 try with mvn verify

@Naumansh :Thanks mate.Tests are now running in parallel.