Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for forkEvery (0.18 sec)

  1. 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)
  2. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/test/TestTaskPropertiesServiceIntegrationTest.groovy

                    testImplementation('org.junit.jupiter:junit-jupiter:5.9.2')
                    testRuntimeOnly('org.junit.platform:junit-platform-launcher')
                }
                test {
                    forkEvery = 42
                    filter {
                        includeTestsMatching('*Class')
                        excludeTestsMatching('exclude-pattern')
                    }
                    useJUnitPlatform {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. testing/architecture-test/src/changes/archunit-store/public-api-symmetrical-accessors-nullability.txt

    Accessors for org.gradle.api.tasks.javadoc.Javadoc.destinationDir don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.javadoc.Javadoc.maxMemory don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.testing.Test.forkEvery don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.testing.testng.TestNGOptions.parallel don't use symmetrical @Nullable
    Accessors for org.gradle.caching.http.HttpBuildCache.url don't use symmetrical @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/GroovyDslFileContentGenerator.groovy

                ${config.useTestNG ? 'useTestNG()' : ''}
                minHeapSize = testRunnerMemory
                maxHeapSize = testRunnerMemory
                maxParallelForks = ${config.maxParallelForks}
                forkEvery = testForkEvery
                jvmArgs '-XX:+HeapDumpOnOutOfMemoryError'
            }
    
            task dependencyReport(type: DependencyReportTask) {
                outputs.upToDateWhen { false }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/TestLauncherDebugTestsCrossVersionTest.groovy

            true // test successfully executed with debugger attached
        }
    
        def "forks only one JVM to debug"() {
            setup:
            buildFile << """
                 tasks.withType(Test) {
                      forkEvery = 1
                      maxParallelForks = 2
                }
            """
            jdwpClient.listen()
    
            when:
            withConnection { connection ->
                connection.newTestLauncher()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    `forkEvery` — default: 0 (no maximum)::
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
Back to top