You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2023/01/01 23:39:09 UTC

[GitHub] [maven-surefire] andpab commented on pull request #476: [SUREFIRE-2010] Parameterized Selection Does not Work

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-unsubscribe@maven.apache.org

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