You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kamalpreet (Jira)" <ji...@apache.org> on 2022/11/28 16:47:00 UTC

[jira] [Created] (SUREFIRE-2128) Need Help in Implementing patching of Surefire JUnit Parallel Execution Parameters

Kamalpreet created SUREFIRE-2128:
------------------------------------

             Summary: Need Help in Implementing patching of Surefire JUnit Parallel Execution Parameters
                 Key: SUREFIRE-2128
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2128
             Project: Maven Surefire
          Issue Type: Wish
          Components: Maven Failsafe Plugin, Maven Surefire Plugin
            Reporter: Kamalpreet


Hi Team, 

Not sure if this is the correct platform to reach out for help regarding Surefire/Failsafe plugin.

I'm currently creating a package from where I would want to set JUnit parallel execution parameters like below :

 
{code:java}
<parallel>classesAndMethods</parallel>
<threadCountClasses>1</threadCountClasses>
<threadCountMethods>1</threadCountMethods>
<perCoreThreadCount>false</perCoreThreadCount>{code}
I'm planning to use Instrumentation API to inject these parameters. I tried to find the correct place where I can do so, but failed to find one.

Please point me to a class from where these value are being honoured So that I could inject these parameters there. You could also suggest me a way to set these values apart from adding them to *<configuration>* element.

 

Thanks.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)