Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-2128

Need Help in Implementing patching of Surefire JUnit Parallel Execution Parameters

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Important

    Description

      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 :

       

      <parallel>classesAndMethods</parallel>
      <threadCountClasses>1</threadCountClasses>
      <threadCountMethods>1</threadCountMethods>
      <perCoreThreadCount>false</perCoreThreadCount>

      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.

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            kamalpreet.k Kamalpreet

            Dates

              Created:
              Updated:

              Slack

                Issue deployment