- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for forkEvery (0.23 sec)
-
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/ParallelTestExecutionIntegrationTest.groovy
given: int testCount = maxConcurrency * 2 println "Max-concurrency: $maxConcurrency" println "Test-count: $testCount" and: withBlockingJUnitTests(testCount) buildFile << """ test { maxParallelForks = $maxParallelForks forkEvery = $forkEvery }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/JvmTestExecutionSpec.java
this.scanForTestClasses = scanForTestClasses; this.testClassesDirs = testClassesDirs; this.path = path; this.identityPath = identityPath; this.forkEvery = forkEvery; this.javaForkOptions = javaForkOptions; this.maxParallelForks = maxParallelForks; this.previousFailedTestClasses = previousFailedTestClasses; this.testIsModule = testIsModule; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/test/impl/DefaultTestTaskProperties.java
) { this.usingJUnitPlatform = usingJUnitPlatform; this.forkEvery = forkEvery; this.isDryRun = isDryRun; this.filters = filters; this.forkOptions = forkOptions; this.candidateClassFiles = candidateClassFiles; this.inputFileProperties = inputFileProperties; this.outputFileProperties = outputFileProperties; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 3.1K bytes - Viewed (0) -
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/fixture/JvmBlockingTestClassGenerator.groovy
return """ apply plugin: 'java' ${RepoScriptBlockUtil.mavenCentralRepository()} dependencies { $testFrameworkDependencies } tasks.withType(Test) { maxParallelForks = $maxWorkers forkEvery = $forkEvery }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractJvmFailFastIntegrationSpec.groovy
'--fail-fast' | ['test', '--fail-fast'] | '' } def "ensure fail fast with forkEvery #forkEvery, maxWorkers #maxWorkers, omittedTests #testOmitted"() { given: buildFile.text = generator.initBuildFile(maxWorkers, forkEvery) def resourceForTest = generator.withFailingTests(testOmitted + 1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/performance/parallelTestExecution/kotlin/build.gradle.kts
// end::parallel-4[] // tag::parallel-calculated[] maxParallelForks = (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1) // end::parallel-calculated[] // tag::fork-every[] forkEvery = 100 // end::fork-every[] // tag::disable-reports[] reports.html.required = false reports.junitXml.required = false // end::disable-reports[] // tag::parallel-4[] // tag::parallel-calculated[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 995 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/performance/parallelTestExecution/groovy/build.gradle
maxParallelForks = 4 // end::parallel-4[] // tag::parallel-calculated[] maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1 // end::parallel-calculated[] // tag::fork-every[] forkEvery = 100 // end::fork-every[] // tag::disable-reports[] reports.html.required = false reports.junitXml.required = false // end::disable-reports[] // tag::parallel-4[] // tag::parallel-calculated[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 976 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) -
testing/performance/src/templates/project-with-source/build.gradle
options.forkOptions.memoryMaximumSize=compilerMemory } tasks.withType(Test) { minHeapSize = testRunnerMemory maxHeapSize = testRunnerMemory maxParallelForks = 4 forkEvery = testForkEvery } <% if (groovyProject) { %> apply plugin: 'groovy' dependencies { implementation 'org.codehaus:groovy:groovy-all:2.4.15' } <% } %> <% if (scalaProject) { %>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.1K bytes - Viewed (0)