andpab commented on PR #476:
URL: https://github.com/apache/maven-surefire/pull/476#issuecomment-1368566861

   The best way to pass something like `-Dtest=MySelector` to the 
SurefireLauncher is to use `SurefireLauncher#setTestToRun`  like this: 
   
   ```java
   unpack( "surefire-2010-parameterized-selection-does-not-work" )
       .setTestToRun( "MySelector" )
       .executeTest();
   ```


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to