setMaxParallelForks

open fun setMaxParallelForks(maxParallelForks: Int)(source)

Sets the maximum number of test processes to start in parallel.

By default, Gradle executes a single test class at a time but allows multiple Test tasks to run in parallel.

Parameters

maxParallelForks

The maximum number of forked test processes. Use 1 to disable parallel test execution for this task.