Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for testClassesDirs (0.37 sec)

  1. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/JvmTestExecutionSpec.java

            this.modulePath = modulePath;
            this.candidateClassFiles = candidateClassFiles;
            this.scanForTestClasses = scanForTestClasses;
            this.testClassesDirs = testClassesDirs;
            this.path = path;
            this.identityPath = identityPath;
            this.forkEvery = forkEvery;
            this.javaForkOptions = javaForkOptions;
            this.maxParallelForks = maxParallelForks;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/kotlin/url-verifier-plugin/build.gradle.kts

    }
    // end::test-source-set[]
    
    // tag::test-task[]
    val integrationTestTask = tasks.register<Test>("integrationTest") {
        description = "Runs the integration tests."
        group = "verification"
        testClassesDirs = integrationTest.output.classesDirs
        classpath = integrationTest.runtimeClasspath
        mustRunAfter(tasks.test)
    }
    tasks.check {
        dependsOn(integrationTestTask)
    }
    // end::test-task[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/groovy/url-verifier-plugin/build.gradle

    }
    // end::test-source-set[]
    
    // tag::test-task[]
    def integrationTestTask = tasks.register("integrationTest", Test) {
        description = 'Runs the integration tests.'
        group = "verification"
        testClassesDirs = integrationTest.output.classesDirs
        classpath = integrationTest.runtimeClasspath
        mustRunAfter(tasks.named('test'))
    }
    tasks.named('check') {
        dependsOn(integrationTestTask)
    }
    // end::test-task[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testKit/automaticClasspathInjectionCustomTestSourceSet/groovy/build.gradle

    plugins {
        id 'groovy'
        id 'java-gradle-plugin'
    }
    
    def functionalTest = sourceSets.create('functionalTest')
    def functionalTestTask = tasks.register('functionalTest', Test) {
        group = 'verification'
        testClassesDirs = sourceSets.functionalTest.output.classesDirs
        classpath = sourceSets.functionalTest.runtimeClasspath
        useJUnitPlatform()
    }
    
    tasks.named("check") {
        dependsOn functionalTestTask
    }
    
    gradlePlugin {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 810 bytes
    - Viewed (0)
  5. platforms/jvm/plugins-jvm-test-suite/src/main/java/org/gradle/api/plugins/JvmTestSuitePlugin.java

                // See https://github.com/gradle/gradle/issues/18622
                test.getConventionMapping().map("testClassesDirs", () -> {
                    DeprecationLogger.deprecate("Relying on the convention for Test.testClassesDirs in custom Test tasks")
                        .willBeRemovedInGradle9()
                        .withUpgradeGuideSection(8, "test_task_default_classpath")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 21:08:13 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/main/kotlin/com.myorg.service-conventions.gradle.kts

    configurations[integrationTest.runtimeOnlyConfigurationName].extendsFrom(configurations.testRuntimeOnly.get())
    
    val integrationTestTask = tasks.register<Test>("integrationTest") {
        testClassesDirs = integrationTest.output.classesDirs
        classpath = integrationTest.runtimeClasspath
    
        shouldRunAfter(tasks.test)
    }
    
    dependencies {
        "integrationTestImplementation"(project)
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/java/modules-multi-project-with-integration-tests/groovy/buildSrc/src/main/groovy/myproject.java-conventions.gradle

        from integrationTest.output
    }
    
    def integrationTestTask = tasks.register('integrationTest', Test) {
        description = 'Runs integration tests.'
        group = 'verification'
        useJUnitPlatform()
    
        testClassesDirs = integrationTest.output.classesDirs
        // Make sure we run the 'Jar' containing the tests (and not just the 'classes' folder) so that test resources are also part of the test module
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/java/sourceSets/kotlin/build.gradle.kts

    tasks.register<Javadoc>("intTestJavadoc") {
        source(sourceSets["intTest"].allJava)
        classpath = sourceSets["intTest"].compileClasspath
    }
    // end::javadoc[]
    
    // tag::test[]
    tasks.register<Test>("intTest") {
        testClassesDirs = sourceSets["intTest"].output.classesDirs
        classpath = sourceSets["intTest"].runtimeClasspath
    }
    // end::test[]
    
    tasks.named("test") {
        dependsOn("intTest")
    }
    
    tasks.named("build") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 789 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/main/groovy/com.myorg.service-conventions.gradle

    configurations[integrationTest.runtimeOnlyConfigurationName].extendsFrom(configurations.testRuntimeOnly)
    
    def integrationTestTask = tasks.register('integrationTest', Test) {
        testClassesDirs = integrationTest.output.classesDirs
        classpath = integrationTest.runtimeClasspath
    
        shouldRunAfter(tasks.named('test'))
    }
    
    dependencies {
        integrationTestImplementation project
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/build-organization/gradle-plugin/kotlin/greeting-plugin/build.gradle.kts

    gradlePlugin.testSourceSets(functionalTest)
    
    configurations[functionalTest.implementationConfigurationName].extendsFrom(configurations.testImplementation.get())
    
    val functionalTestTask = tasks.register<Test>("functionalTest") {
        testClassesDirs = functionalTest.output.classesDirs
        classpath = configurations[functionalTest.runtimeClasspathConfigurationName] + functionalTest.output
    }
    
    tasks.check {
        // Run the functional tests as part of `check`
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top