- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for forkEvery (0.26 sec)
-
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/Test.java
*/ public void setForkEvery(long forkEvery) { if (forkEvery < 0) { throw new IllegalArgumentException("Cannot set forkEvery to a value less than 0."); } this.forkEvery = forkEvery; } /** * Sets the maximum number of test classes to execute in a forked test process. * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 42.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestTaskIntegrationTest.groovy
buildFile << """ tasks.withType(Test).configureEach { forkEvery = null } """ when: executer.expectDocumentedDeprecationWarning("Setting Test.forkEvery to null. This behavior has been deprecated. " + "This will fail with an error in Gradle 9.0. Set Test.forkEvery to 0 instead. " +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 25 21:27:42 UTC 2023 - 15.1K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy
${mavenCentralRepository()} dependencies { ${testFrameworkDependencies} } test { ${configureTestFramework} forkEvery = 1 } """.stripIndent() when: executer.withTasks('test').run() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 19.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/optimizing-performance/performance.adoc
your tests may take longer than you expect to run. You can increase the heap size, but garbage collection may slow down your tests. Alternatively, you can fork a new test VM after a certain number of tests have run with the `forkEvery` setting: ==== include::sample[dir="snippets/performance/parallelTestExecution/kotlin",files="build.gradle.kts[tags=fork-every]"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 23 03:39:56 UTC 2024 - 33.4K bytes - Viewed (0)