jenkinsci / parallel-test-executor-plugin

Parallel test executor plugin
https://plugins.jenkins.io/parallel-test-executor/
51 stars 55 forks source link

Parallelize per java test case #279

Closed Vlatombe closed 7 months ago

Vlatombe commented 7 months ago

Allows to parallelize java tests by test case.

Generates a list of exclusions/inclusions following the format expected by maven surefire plugin for includesFile/excludesFile (available since maven-surefire-plugin 3.0.0-M6), e.g. using foo.ClassName#testMethod format.

The initial estimate based on files still operates at class granularity, so this new mechanism kicks in on later builds. Updated demo project accordingly.

Testing done

### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [ ] Link to relevant issues in GitHub or Jira
- [ ] Link to relevant pull requests, esp. upstream and downstream changes
- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue