So I have to make a parallel execution of cucumber files but there are some cases that can't be run in parallel so I need to exclude them on the basis of the package or the file.
I know this is supported for .java files but do we have something similar for .feature files ?
Using the cucumber with JUnit and Surefire plugin
Here is a snipet
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<configuration>
<parallel>all</parallel>
<threadCount>3</threadCount>
<excludes>
<exclude>You can exclude java files from here but not .feature files</exclude>
</excludes>
</configuration>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>