temyers / cucumber-jvm-parallel-plugin

Maven plugin to help running Cucumber features in parallel
Apache License 2.0
129 stars 121 forks source link

Error while running tests in parallel with ExtentCucumberFormatter plugin #192

Closed amar-1314 closed 5 years ago

amar-1314 commented 5 years ago

I am trying to use the parallel run plugin with extent cucumber formatter and im getting this error while running Failed to execute goal com.github.temyers:cucumber-jvm-parallel-plugin:4.2.0:generateRunners (generateRunners) on project test-parallel-run: Unable to parse configuration of mojo com.github.temyers:cucumber-jvm-parallel-plugin:4.2.0:generateRunners for parameter plugin: Cannot find default setter in class com.github.timm.cucumber.generate.Plugin -> [Help 1]

Here is the plugin in pom.xml


                <groupId>com.github.temyers</groupId>
                <artifactId>cucumber-jvm-parallel-plugin</artifactId>
                <version>4.2.0</version>
                <executions>
                    <execution>
                        <id>generateRunners</id>
                        <phase>generate-test-sources</phase>
                        <goals>
                            <goal>generateRunners</goal>
                        </goals>
                        <configuration>
                            <glue>
                                <package>steps</package>
                                <package>setup</package>
                            </glue>
                            <tags>
                                <tag>@tag</tag>
                            </tags>
                            <parallelScheme>SCENARIO</parallelScheme>
                            <plugins>
                                <plugin>com.vimalselvam.cucumber.listener.ExtentCucumberFormatter</plugin>
                                <extension>html</extension>
                            </plugins>
                        </configuration>
                    </execution>
                </executions>
            </plugin>```

Im using 
avenstack extent reports V3.1.5
Viamalselvan cucumber extent report V3.1.1

I tried this without including ExtentCucumberFormatter plugin and it generated runner files fine.
amar-1314 commented 5 years ago

I just noticed that I missed tag inside plugin. Sorry my bad.