[ https://issues.apache.org/jira/browse/SUREFIRE-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17431331#comment-17431331 ]
Jörg Thomas (ConSol) commented on SUREFIRE-1933: ------------------------------------------------ This works as expected with version 2.20 and newer of the plugin. > tests not included with Tests.java, ok with Test.java > ----------------------------------------------------- > > Key: SUREFIRE-1933 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1933 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin > Affects Versions: 2.12.4 > Environment: MacOS, executing test inside IntelliJ, surefire 2.12.4. > but also as separately installed mvn, using mvn 3.8.1. > Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d) > Maven home: /opt/apache-maven/apache-maven-3.8.1 > Java version: 11.0.10, vendor: Oracle Corporation, runtime: > /Library/Java/JavaVirtualMachines/jdk-11.0.10.jdk/Contents/Home > Default locale: en_GB, platform encoding: UTF-8 > OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac" > Reporter: peter greaves > Priority: Major > > See my github. > if I rename my test class com.springfirst.solvers.FindIndicesSolverTest.java > to com.springfirst.solvers.FindIndicesSolverTests.java, no test class is run > by the test goal. if I rename the file back to FindIndicesSolverTest.java, > both test classes are run. This seems to go against inclusion statements in > [http://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html] > > you can clone my repo and repro it. > [https://github.com/petergreaves/helloworld] > Might be my error - just started working with Maven, and if this didn't work > am sure you'd maybe know about before this. But I thought that a class > ending Tests.java would be included. -- This message was sent by Atlassian Jira (v8.3.4#803005)