xujiantop-crypto opened a new pull request, #3472: URL: https://github.com/apache/maven-surefire/pull/3472
## Summary - Avoid resolving `MethodSource#getJavaMethod()` before checking the declaring class for JUnit 4 categories. - Treat method sources that only expose a Spock feature display name as having no method-level category, so `<groups>` and `<excludedGroups>` discovery can complete. - Add a regression test covering both include and exclude category filters with a non-reflective method source. Fixes #3468 ## Verification - Surefire JUnit Platform provider tests: 114 tests, 0 failures, 0 errors. - Checkstyle: 0 violations. - Reproduced the Spock + JUnit 4 + `<excludedGroups>` scenario: fixed build ran 2 tests successfully. -- 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]
