get Fork Every
Returns the maximum number of test classes to execute in a forked test process. The forked test process will be restarted when this limit is reached.
By default, Gradle automatically uses a separate JVM when executing tests.
- A value of
0(no limit) means to reuse the test process for all test classes. This is the default. - A value of
1means that a new test process is started for every test class. This is very expensive. - A value of
Nmeans that a new test process is started afterNtest classes.
Return
The maximum number of test classes to execute in a test process. Returns 0 when there is no maximum.