Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 78 for classesDir (0.16 sec)

  1. platforms/documentation/docs/src/samples/java/jvm-multi-project-with-additional-test-types/kotlin/buildSrc/src/main/kotlin/myproject.java-conventions.gradle.kts

    }
    
    val integrationTestTask = tasks.register<Test>("integrationTest") {
        description = "Runs integration tests."
        group = "verification"
        useJUnitPlatform()
    
        testClassesDirs = integrationTest.output.classesDirs
        classpath = configurations[integrationTest.runtimeClasspathConfigurationName] + integrationTest.output
    
        shouldRunAfter(tasks.test)
    }
    
    tasks.check {
        dependsOn(integrationTestTask)
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/build-organization/gradle-plugin/kotlin/greeting-plugin/build.gradle.kts

    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`
        dependsOn(functionalTestTask)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/testKit/automaticClasspathInjectionCustomTestSourceSet/kotlin/build.gradle.kts

        `java-gradle-plugin`
    }
    
    val functionalTest = sourceSets.create("functionalTest")
    val functionalTestTask = tasks.register<Test>("functionalTest") {
        group = "verification"
        testClassesDirs = functionalTest.output.classesDirs
        classpath = functionalTest.runtimeClasspath
        useJUnitPlatform()
    }
    
    tasks.check {
        dependsOn(functionalTestTask)
    }
    
    gradlePlugin {
        testSourceSets(functionalTest)
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 769 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/java/sourceSets/groovy/build.gradle

        source sourceSets.intTest.allJava
        classpath = sourceSets.intTest.compileClasspath
    }
    // end::javadoc[]
    
    // tag::test[]
    tasks.register('intTest', Test) {
        testClassesDirs = sourceSets.intTest.output.classesDirs
        classpath = sourceSets.intTest.runtimeClasspath
    }
    // end::test[]
    
    tasks.named('test') {
        dependsOn 'intTest'
    }
    
    tasks.named('build') {
        dependsOn 'intTestJavadoc'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 758 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/buildCache/integration-tests/kotlin/build.gradle.kts

    }
    
    sourceSets {
        create("integTest")
    }
    
    val taskProvider = tasks.register<Test>("integTest") {
        classpath = sourceSets["integTest"].runtimeClasspath
        testClassesDirs = sourceSets["integTest"].output.classesDirs
    }
    
    val TaskContainer.integTest: TaskProvider<Test> get() = taskProvider // define accessor we would get if 'integTest' was defined in plugin
    
    // tag::integTest[]
    tasks.integTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/java/modules-multi-project-with-integration-tests/kotlin/buildSrc/src/main/kotlin/myproject.java-conventions.gradle.kts

    }
    
    val integrationTestTask = tasks.register<Test>("integrationTest") {
        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)
  7. platforms/documentation/docs/src/samples/build-organization/gradle-plugin/groovy/greeting-plugin/build.gradle

    configurations[functionalTest.implementationConfigurationName].extendsFrom(configurations.testImplementation)
    
    def functionalTestTask = tasks.register('functionalTest', Test) {
        testClassesDirs = functionalTest.output.classesDirs
        classpath = configurations[functionalTest.runtimeClasspathConfigurationName] + functionalTest.output
    }
    
    tasks.check.configure {
        // Run the functional tests as part of `check`
        dependsOn(functionalTestTask)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. testing/smoke-ide-test/build.gradle.kts

    }
    
    tasks.register<SmokeIdeTest>("smokeIdeTest") {
        group = "Verification"
        maxParallelForks = 1
        systemProperties["org.gradle.integtest.executer"] = "forking"
        testClassesDirs = smokeIdeTestSourceSet.output.classesDirs
        classpath = smokeIdeTestSourceSet.runtimeClasspath
        dependsOn(unzipIdeStarter)
    }
    
    dependencies {
        ideStarter(libs.gradleIdeStarter)
        smokeIdeTestDistributionRuntimeOnly(project(":distributions-full")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 18:13:31 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/buildCache/integration-tests/groovy/build.gradle

    plugins {
        id('java-library')
    }
    
    sourceSets {
        integTest
    }
    
    tasks.register("integTest", Test) {
        classpath = sourceSets.integTest.runtimeClasspath
        testClassesDirs = sourceSets.integTest.output.classesDirs
    }
    
    // tag::integTest[]
    tasks.named('integTest') {
        inputs.property("operatingSystem") {
            System.getProperty("os.name")
        }
    }
    // end::integTest[]
    
    // tag::distributionPathInput[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4TestTaskIntegrationTest.groovy

                }
    
                tasks.create('customTest', Test) {
                    classpath = sourceSets.customTest.runtimeClasspath
                    testClassesDirs = sourceSets.customTest.output.classesDirs
                    options {
                        excludeCategories = ["MyTest\\\$Slow"]
                    }
                    $configureTestFramework
                }
            """.stripIndent()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top