Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.22.2
-
None
Description
I am trying to use include configuration using fully qualified class name, as described here.
I have the following hierarchy in my test folder (showing only relevant parts):
src/test/java + features.feature_a +- SomeStory.java + ignore.features.under_construction +- AnotherStory.java
My pom configuration is:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${surefire.plugin.version}</version> <configuration> <includes> <include>features.*.*Story</include> </includes> </configuration> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin>
When I execute mvn verify both of the above Stories are run.
I am expecting that only "SomeStory" will be run. The other test "AnotherStory", is not in the package "features.*".