donnerbart/Split Tests Java
Splits a JUnit test suite for parallelization with equal time
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| split-index | Index of this instance executing the tests (integer) | yes | — |
| split-total | Total number of instances executing the tests (integer) | yes | — |
| glob | Glob pattern to find test files (string) | yes | — |
| exclude-glob | Glob pattern to exclude test files (string) | no | "" |
| junit-glob | Glob pattern to find JUnit reports (string) | no | — |
| format | The output format (choice) | no | list |
| average-time | Use the average test time from tests with JUnit reports for tests without JUnit reports (boolean) | no | false |
| new-test-time | Configures the calculation of the test time for tests without JUnit reports (choice) | no | average |
| working-directory | The working directory. Defaults to the current directory (string) | no | — |
| calculate-optimal-total-split | Calculates the optimal test split. Logs a warning if split-total does not match (boolean) | no | — |
| max-optimal-total-split-calculations | The maximum number of calculate-optimal-total-split calculations (integer) | no | — |
| debug | Enables debug logging (boolean) | no | false |
Outputs
| name | description |
|---|---|
| test-suite | A subset of tests, based on the the split index and split type |
| split-total | Total number of instances executing the tests |
| split-index | Index of this instance executing the tests |