api / org.gradle.api.tasks.testing / Test / getMaxParallelForks

getMaxParallelForks

@Internal open fun getMaxParallelForks(): Int

Returns the maximum number of forked test processes to execute in parallel. The default value is 1 (no parallel test execution). It cannot exceed the value of max-workers for the current build.

Return
The maximum number of forked test processes.