apache / apache/maven-surefire

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

Open
#2,731 0 comments 0 reactions 0 assignees View on GitHub
priority:major
Dominant language
Java
Stars
461
Forks
588
Avg merge
1d 8h
Merged PRs (30d)
19

Description

**[Kamalpreet](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER288713)** opened **[SUREFIRE-2128](https://issues.apache.org/jira/browse/SUREFIRE-2128?redirect=false)** and commented

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 :

 

```java
classesAndMethods
1
1
false
```

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 **** element.

 

Thanks.

 

---
No further details from [SUREFIRE-2128](https://issues.apache.org/jira/browse/SUREFIRE-2128?redirect=false)

Contributor guide

Open the contributing guide

Research direction

The issue concerns Surefire/Failsafe handling of JUnit parallel execution parameters, including parallel, threadCountClasses, threadCountMethods, and perCoreThreadCount. Start by locating where these configuration values are honored and determine whether an alternative to the Maven configuration element is supported. Done means identifying a valid entry point or documented way to set the parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.