olamy commented on issue #855:
URL: https://github.com/apache/maven-surefire/issues/855#issuecomment-7191019626
This no longer happens from 3.6.0 onwards. The whole `surefire-grouper`
module, `SingleGroupMatcher` included, was removed in #3179. JUnit 4, JUnit 5
and TestNG tests now all run through the JUnit Platform provider.
`groups` and `excludedGroups` are now handled as JUnit tag expressions, and
JUnit 4 `@Category` values are matched by class name or simple name. Surefire
never tries to load a group name as a class any more, so tags like
`@Tag("flaky")` don't trigger the `Couldn't load group class ... The group
class is ignored!` warning.
The code is still on the `surefire-3.5.x` branch, but we don't plan to
backport a fix there. If you see this on 3.5.x, the fix is to upgrade to 3.6.0
or later.
Closing as fixed in 3.6.0.
--
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]