Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for classesDir (0.15 sec)

  1. platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JavaProjectUnderTest.groovy

                        runtimeClasspath += output + compileClasspath
                    }
                }
    
                task integrationTest(type: Test) {
                    testClassesDirs = sourceSets.integrationTest.output.classesDirs
                    classpath = sourceSets.integrationTest.runtimeClasspath
                }
    
                task jacocoIntegrationTestReport(type: JacocoReport) {
                    executionData integrationTest
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. testing/precondition-tester/build.gradle.kts

        }
    }
    
    fun Test.setupPreconditionTesting() {
        // We only want to execute our special tests
        // so we override what classes are going to run
        testClassesDirs = sourceSets.test.get().output.classesDirs
        // All test should have this project's "test" source set on their classpath
        classpath += sourceSets.test.get().output
    
        // These tests should not be impacted by the predictive selection
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 04:59:12 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestClassDetectionIntegrationTest.groovy

                task othertestsTest(type:Test){
                    ${configureTestFramework}
                    classpath = sourceSets.othertests.runtimeClasspath
                    testClassesDirs = sourceSets.othertests.output.classesDirs
                }
            """.stripIndent()
    
            and:
            file("src/othertests/java/SomeTestClass.java") << """
                ${testFrameworkImports}
                public class SomeTestClass {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.testing.Test.xml

                    </tr>
                </thead>
                <tr>
                    <td>testClassesDirs</td>
                    <td><literal>project.sourceSets.test.output.classesDirs</literal></td>
                </tr>
                <tr>
                    <td>classpath</td>
                    <td><literal>project.sourceSets.test.runtimeClasspath</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)
  5. platforms/documentation/docs/src/snippets/java/basic/kotlin/build.gradle.kts

    // tag::integ-test-task[]
    val integrationTest = task<Test>("integrationTest") {
        description = "Runs integration tests."
        group = "verification"
    
        testClassesDirs = sourceSets["intTest"].output.classesDirs
        classpath = sourceSets["intTest"].runtimeClasspath
        shouldRunAfter("test")
    
        useJUnitPlatform()
    
        testLogging {
            events("passed")
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerConventionalPluginClasspathInjectionEndUserIntegrationTest.groovy

                }
    
                task functionalTest(type: Test) {
                    useJUnitPlatform()
                    testClassesDirs = sourceSets.functionalTest.output.classesDirs
                    classpath = sourceSets.functionalTest.runtimeClasspath
                }
    
                gradlePlugin {
                    testSourceSets sourceSets.functionalTest
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/JavaBasePluginIntegrationTest.groovy

                    id("java-base")
                }
    
                sourceSets {
                    sources
                }
    
                task verify {
                    assert sourceSets.sources.output.classesDirs instanceof ConfigurableFileCollection
                }
            """
    
            expect:
            succeeds "verify"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. testing/smoke-test/build.gradle.kts

            }
        }
    
        fun SmokeTest.configureForSmokeTest(remoteProjectOutputFiles: Any? = null) {
            group = "Verification"
            testClassesDirs = smokeTestSourceSet.output.classesDirs
            classpath = smokeTestSourceSet.runtimeClasspath
            maxParallelForks = 1 // those tests are pretty expensive, we shouldn't execute them concurrently
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitIntegrationTest.groovy

                task test2(type: Test) {
                    ${configureTestFramework}
                    classpath = sourceSets.test2.runtimeClasspath
                    testClassesDirs = sourceSets.test2.output.classesDirs
                }
    
                check {
                    dependsOn test2
                }
    
                dependencies {
                    ${getTestFrameworkDependencies('test')}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/JvmGradlePluginProjectInitDescriptor.java

                    b.propertyAssignment(null, "testClassesDirs", buildScriptBuilder.propertyExpression(functionalTestSourceSet, "output.classesDirs"), true);
                    b.propertyAssignment(null, "classpath", buildScriptBuilder.propertyExpression(functionalTestSourceSet, "runtimeClasspath"), true);
                    b.methodInvocation(null, "useJUnitPlatform");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top