olamy commented on PR #487: URL: https://github.com/apache/maven-surefire/pull/487#issuecomment-6894174346
Thanks a lot for this, @crizzis, and sorry it sat for so long without a proper answer. We're going to close this one. The goal was to let `-Dtest=MyArchTest#someRule` select ArchUnit's field-based `@ArchTest` rules. Since then that need has been covered on the ArchUnit side. ArchUnit 1.3.0 (TNG/ArchUnit#1280) added a filter property: ``` -Darchunit.junit.testFilter=rule_one,rule_two ``` As you said on TNG/ArchUnit#641, Surefire no longer needs to change for this. We'd also rather not take on a public SPI with its own `-api` artifact for one engine's source type. On top of that, the branch has drifted a long way from master since the codebase moved to Spotless formatting. If there's ever real demand for `-Dtest=Class#member` to work with non-method test sources, we'd want to handle it inside Surefire with proper integration tests rather than through a plugin point. Feel free to open a new issue if that comes up. Thanks again for digging into this and for pushing it forward with ArchUnit. -- 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]
