Process forking options. Gradle will run all tests in a single forked VM by default. This can be problematic if there are a lot of tests or some very memory-hungry ones. We can fork a new test VM after a certain number of tests have run by setting forkEvery.
we can add tasks.withType(Test).configureEach {forkEvery = 100} into build.gradle to enable this strategy
Process forking options. Gradle will run all tests in a single forked VM by default. This can be problematic if there are a lot of tests or some very memory-hungry ones. We can fork a new test VM after a certain number of tests have run by setting forkEvery.
we can add
tasks.withType(Test).configureEach {forkEvery = 100}
into build.gradle to enable this strategy