# setForkEvery

open fun setForkEvery(@Nullable forkEvery: Long)(source)

### Deprecated

Sets the maximum number of test classes to execute in a forked test process.

By default, Gradle automatically uses a separate JVM when executing tests, so changing this property is usually not necessary.

#### Deprecated

Use setForkEvery instead.

#### Parameters

forkEvery

The maximum number of test classes. Use null or 0 to specify no maximum.