Cucumber tests execution stops only when running using Surefire plugin in parrallel

I am having troubles when ruuning cucumber tests in parrallel with surefire plugin.

I have three steps classes, they extend Abstract class but the execution does even not reach the constructor of the parent class, so I assume something is wrong my setup/build configuration.

Something has to be wrong with the parrallel execution but I am not sure what it might be. If someone can help I can provide more information about the code/config.

When I run the RegressionTests.runner without the parallel execution everything is ok.

My maven command:

surefire:test -Dtest=RegressionTests

pom.xlm file







org.apache.maven.plugins

maven-surefire-plugin

3.0.0-M3





org.apache.maven.surefire

surefire-junit47

3.0.0-M3







both

4







org.codehaus.mojo

sonar-maven-plugin

${sonar.version}











io.cucumber

cucumber-junit

4.2.0





io.cucumber

cucumber-java

${cucumber.version}





io.cucumber

cucumber-picocontainer

${cucumber.version}



Runner class...

Read More »

By: StackOverFlow - 5 days ago

Related Posts