Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 85 for JvmTestSuite (0.58 sec)

  1. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryFeaturePublishingIntegrationTest.groovy

                    id 'maven-publish'
                }
    
                group = 'com.acme'
                version = '1.4'
    
                ${mavenCentralRepository()}
    
                testing.suites {
                    integTest(JvmTestSuite) { }
                }
    
                publishing {
                    repositories {
                        maven { url "\${buildDir}/repo" }
                    }
                    publications {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseTestConfigurationsWithProjectDependenciesIntegrationTest.groovy

            file('a/build.gradle') << """
                plugins {
                    id 'jvm-test-suite'
                }
    
                testing {
                    suites {
                        integration(JvmTestSuite) {
                            dependencies {
                                 implementation project(':b')
                            }
                        }
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/ParallelTestExecutionIntegrationTest.groovy

                            testTask.configure {
                                maxParallelForks = 2
                            }
                        }
                    }
                    other(JvmTestSuite) {
                    }
                }
            """
    
            def tests = blockingServer.concurrent("test_1", "test_2")
            def other = blockingServer.concurrent("other_1", "other_2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

            executedAndNotSkipped ":$task"
    
            where:
            suiteName   | suiteDeclaration              | task
            'test'      | 'test'                        | 'test'
            'integTest' | 'integTest(JvmTestSuite)'     | 'integTest'
        }
    
        @Issue('https://github.com/gradle/gradle/issues/4924')
        def "skips test on re-run when options are NOT changed"() {
            given:
            testSources.with {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesMultiTargetIntegrationTest.groovy

            buildFile << """
                testing {
                    suites {
                        test {
                            useJUnit()
                        }
                        similarToTest(JvmTestSuite) {
                            useJUnit()
                            // Add a target with overlapping name to the default `test` target
                            targets {
                                test {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/KotlinPluginSmokeTest.groovy

                }
    
                ${mavenCentralRepository()}
    
                testing.suites.test {
                    useKotlinTest()
                }
    
                testing.suites.create("integTest", JvmTestSuite) {
                    targets.named("integTest") {
                        testTask.configure {
                            useJUnitPlatform()
                        }
                    }
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginIntegrationTest.groovy

            settingsFile << "rootProject.name = 'Test'"
    
            buildFile << """
                testing {
                    suites {
                        integrationTest(JvmTestSuite) {
                            testType = TestSuiteType.INTEGRATION_TEST
    
                            dependencies {
                                implementation project()
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.groovy

        def 'multiple test suites create multiple aggregation tasks'() {
            given:
            file("transitive/build.gradle") << """
                testing {
                    suites {
                        integTest(JvmTestSuite) {
                            testType = TestSuiteType.INTEGRATION_TEST
                            useJUnit()
                            dependencies {
                              implementation project()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 26.3K bytes
    - Viewed (0)
  9. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginMultiVersionIntegrationTest.groovy

    public class ThingTest {
        @org.junit.Test public void someTest() { new Thing(); }
    }
    """
            buildFile << """
        testing.suites {
            otherTest(JvmTestSuite) {
                useJUnit()
                dependencies {
                    implementation project()
                }
            }
        }
    
        task mergedReport(type: JacocoReport) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

                    id("groovy")
                }
    
                ${mavenCentralRepository()}
    
                testing {
                    suites {
                        functionalTest(JvmTestSuite) {
                            useSpock("2.2-groovy-3.0")
                            dependencies {
                                implementation(project())
                            }
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top