olamy commented on issue #3094: URL: https://github.com/apache/maven-surefire/issues/3094#issuecomment-7005346239
Closing this one for now. #3606 brought back `-Dtest=MyTest#test[1]` for JUnit 4 `Parameterized` tests (run through the Vintage engine), but it can't help here. The runs of a JUnit Jupiter `@ParameterizedTest` are only created while the tests are running, so surefire's filter never sees them and can't pick one by index. `-Dtest=MyTest#test` still runs all of them. Doing this properly would mean building `selectIteration` or unique-ID selectors up front instead of selecting the whole class, which is a much bigger change. Happy to reopen if someone wants to take that on. -- 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]
