Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for forkEvery (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.testing.Test.xml

                </tr>
                <tr>
                    <td>scanForTestClasses</td>
                    <td><literal>true</literal></td>
                </tr>
                <tr>
                    <td>forkEvery</td>
                    <td><literal>0</literal></td>
                </tr>
                <tr>
                    <td>maxParallelForks</td>
                    <td><literal>1</literal></td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/TestLauncher.java

         * <p>
         * Invoking this method adjusts the test task to launch only one JVM. More specifically, the parallel execution
         * gets disabled and the {@code forkEvery} property is set to 0.
         *
         * @param port the target port where the test JVM expects the debugger
         * @return this
         *
         * @since 5.6
         */
        TestLauncher debugTestsOn(int port);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy

            verify(mode)
    
            where:
            mode << modes
        }
    
        def "produces JUnit xml results with aggressive forking - #mode.name"() {
            when:
            runWithTestConfig("useTestNG(); forkEvery 1; $mode.config")
    
            then:
            verify(mode)
    
            where:
            mode << modes
        }
    
        void verify(Mode mode) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 21:27:42 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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