Closed sam04141 closed 6 years ago
cucumber parallel plugin and report plugin are as bellow
<plugin>
<groupId>net.masterthought</groupId>
<artifactId>maven-cucumber-reporting</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<id>execution</id>
<phase>package</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<projectName>sporthighlightsautomation</projectName>
<outputDirectory>${project.build.directory}/Report/${device}_results</outputDirectory>
<cucumberOutput>target/cucumber-parallel/</cucumberOutput>
<parallelTesting>true</parallelTesting>
</configuration>
</execution>
</executions>
</plugin>
This plugin only generates the runners based on the input you provide. As you're providing it with:
<outputDirectory>${project.build.directory}/Report/${device}_results</outputDirectory>
I strongly suspect the problem is located in your configuration. You didn't mention anything about a maven profile or multiple executions of the reporting plugin to ensure it generates a a runner for each device.
If anything you should check if the generated sources are as expected.
Then if you think there is an actuall bug please provide https://stackoverflow.com/help/mcve preferably in the form of github repository.
Hi Experts, I am executing my automation program for multiple real devices, using cucumber-jvm-parallel-plugin currently i cant generate reports using json file becase
Appreciate if you could help me to generate report bellow are the MAVEN dependencies which i am using
my report plugin is
"my surefire planing is"
Appreciate your help on this matter