ratcashdev commented on issue #3975: URL: https://github.com/apache/netbeans/issues/3975#issuecomment-3162861827
First, my branch, my test-project, with the old surefire version: ``` cd ~/Development/maven-test/mavenproject1; JAVA_HOME=/usr/lib/jvm/java-21-openjdk /usr/share/apache-netbeans/java/maven/bin/mvn -Dtest=io.test.maven.SampleTest,io.test.maven.SampleTest$* process-test-classes surefire:test ``` with the test results looking as follows: <img width="717" height="234" alt="Image" src="https://github.com/user-attachments/assets/551f2de0-19de-4902-a515-d1a4b5cc2181" /> Executing the same test (copy pasted to your test project), with surefire version results in the outcome as you described above (Nested classes not executed). Interesting. Here's my test project zipped. [mavenproject1.zip](https://github.com/user-attachments/files/21657034/mavenproject1.zip) At the end it came down to jupiter-engine. With version `5.11.3` (explicitely declared in the POM) it works nicely. If 5.13.x is explicitly declared in the POM, it does not discover any tests. If in the POM I rely only on API and PARAMS package of jupiter (like in your project), then it does not execute nested tests. Really strange. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
