gradle
gradle copied to clipboard
Add suite thread pool size testng option
Signed-off-by: sergey gotovsky [email protected]
Fixes https://github.com/gradle/gradle/issues/20773
Context TestNg have an option to run xml suites in parallel. It's very useful feature for project with big count tests stored in xml (with other params like parallel/threads-count/parameter/etc), but we still can't set up this option via gradle. In this pr I try to add this option.
Contributor Checklist
- [x] Review Contribution Guidelines.
- [x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
- [ ] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
- [ ] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team.
- [ ] Provide integration tests (under
<subproject>/src/integTest) to verify changes from a user perspective. - [ ] Provide unit tests (under
<subproject>/src/test) to verify logic. - [ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes.
- [x] Ensure that tests pass sanity check:
./gradlew sanityCheck. - [x] Ensure that tests pass locally:
./gradlew <changed-subproject>:quickTest.
Reviewing cheatsheet
Before merging the PR, comments starting with
- ❌ ❓must be fixed
- 🤔 💅 should be fixed
- 💭 may be fixed
- 🎉 celebrate happy things
:bar_chart: Changes by Platform: this PR is 93% new code
2 platforms were affected
See details
| Platform | Added Lines | % of Total Line Changes | Deleted Lines | % of Total Line Changes | Files Changed | % of Total Files Changed |
| null | 1 | 2% | 0 | 0% | 1 | 13% |
| jvm | 52 | 91% | 4 | 7% | 7 | 88% |
@bot-gradle test and merge
WARN: Based on labels, this pull request addresses notable issue but no changes to release note found.