Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for useJUnitJupiter (0.17 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/SpringBootPluginSmokeTest.groovy

                }
    
                dependencies {
                    implementation 'org.springframework.boot:spring-boot-starter'
                }
    
                testing.suites.test {
                    useJUnitJupiter()
                    dependencies {
                        implementation 'org.springframework.boot:spring-boot-starter-test'
                    }
                }
            """.stripIndent()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestVerificationFailureHandlingIntegrationTest.groovy

                plugins {
                  id 'java'
                }
    
                ${mavenCentralRepository()}
    
                testing {
                    suites {
                        test {
                            useJUnitJupiter()
                        }
                    }
                }
            """
        }
    
        def 'task does not execute when it has a test task output dependency and VM exits unexpectedly'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/test/JavaModuleBackboxTestExcutionIntegrationTest.groovy

            then:
            succeeds ':test'
        }
    
        def "runs JUnit5 blackbox test as module using the module path"() {
            given:
            buildFile << """
                testing.suites.test.useJUnitJupiter()
            """
    
            when:
            consumingModuleInfo('exports consumer')
            consumingModuleClass()
            testModuleInfo('requires consumer', 'requires org.junit.jupiter.api')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. testing/public-api-tests/src/integTest/groovy/org/gradle/api/PublicApiIntegrationTest.groovy

                    implementation("org.gradle.experimental:gradle-public-api:${apiJarVersion}")
                }
    
                testing {
                    suites {
                        test {
                            useJUnitJupiter()
                        }
                    }
                }
    
                repositories {
                    maven {
                        url = uri("${apiJarRepoLocation.toURI()}")
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 08:43:08 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r84/TestLauncherCompositeBuildCrossVersionTest.groovy

                }
                repositories {
                    mavenCentral()
                }
                testing {
                    suites {
                        test {
                            useJUnitJupiter()
                        }
                    }
                }
                tasks.named('test') {
                    testLogging {
                        showStandardStreams = true
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/caching/configuration/internal/BuildCacheCompositeConfigurationIntegrationTest.groovy

                                Thread.sleep(1000)
                            }
                        }
                        ${mavenCentralRepository()}
                        testing.suites.test.useJUnitJupiter()
                    }
                    tasks.build.dependsOn(subprojects.tasks.build)
                    tasks.clean.dependsOn(subprojects.tasks.clean)
                """
                file("src/test/java/Test.java") <<
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/GroovyCompileToolchainIntegrationTest.groovy

            buildFile << """
                dependencies {
                    testImplementation "org.spockframework:spock-core:${getSpockVersion(versionNumber)}"
                }
    
                testing.suites.test.useJUnitJupiter()
            """
    
            file("src/test/groovy/GroovySpec.groovy") << """
                class GroovySpec extends spock.lang.Specification {
                    def test() {
                        given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 17:37:16 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLayoutIntegrationTest.groovy

    apply plugin: 'scala'
    
    ${mavenCentralRepository()}
    dependencies {
        implementation 'org.codehaus.groovy:groovy-all:2.4.10'
        implementation 'org.scala-lang:scala-library:2.11.12'
    }
    
    testing.suites.test.useJUnitJupiter()
    
    sourceSets.each {
        configure(it) {
            resources.srcDir 'src'
            resources.srcDir 'src/resources'
            resources.include "org/gradle/\$name/**"
            java.srcDir 'src'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/plugin/devel/variants/TargetJVMVersionOnPluginTooNewFailureDescriberIntegrationTest.groovy

                }
    
                dependencies {
                    implementation 'org.springframework.boot:spring-boot-starter'
                }
    
                testing.suites.test {
                    useJUnitJupiter()
                    dependencies {
                        implementation 'org.springframework.boot:spring-boot-starter-test'
                    }
                }
            """.stripIndent()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 20:48:53 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesGroovyDSLDependenciesIntegrationTest.groovy

                }
    
                ${mavenCentralRepository()}
    
                testing {
                    suites {
                        integrationTest(JvmTestSuite) {
                            useJUnitJupiter()
                            dependencies {
                                implementation(testFixtures(project(':util')))
                            }
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 16:25:08 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top