olamy opened a new pull request, #3572:
URL: https://github.com/apache/maven-surefire/pull/3572

   Fixes #3548
   
   Since 3.6.1 the scan discovers all test classes in one go and matches the 
result back to class names. Engines don't have to report tests under the name 
of the class you picked, so some classes get dropped and their tests are 
silently skipped. A nested `@ParameterizedClass` picked with `-Dtest` is one 
example.
   
   This reverts a35e23b, as suggested in #3553, and goes back to discovering 
each class on its own with `TestPlan.containsTests()`.
   
   The catch: TestNG suite listeners get called once per scanned class during 
the scan again, like in 3.6.0 (#3462). The TestNG page now shows how a listener 
can skip the engine's dry runs with `testng.mode.dryrun`.
   
   Also in here:
   - the regression test from #3553, thanks to Arturo Bernal
   - an IT that runs the command from #3548
   
   ---
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [ ] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [ ] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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]

Reply via email to