Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 56 for testLogging (0.29 sec)

  1. platforms/documentation/docs/src/snippets/kotlinDsl/containers-string-invoke/kotlin/build.gradle.kts

    plugins {
        `java-library`
    }
    
    tasks.register("myCheck")
    
    // tag::string-invoke[]
    tasks {
        "test"(Test::class) {
            testLogging.showStackTraces = true
        }
        "check" {
            dependsOn(named("myCheck"))
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 248 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/kotlinDsl/containers-scope/kotlin/build.gradle.kts

    plugins {
        `java-library`
    }
    
    // tag::scope[]
    tasks {
        test {
            testLogging.showStackTraces = true
        }
        val myCheck by registering {
            doLast { /* assert on something meaningful */ }
        }
        check {
            dependsOn(myCheck)
        }
        register("myHelp") {
            doLast { /* do something helpful */ }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 351 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/testing/testng-groupbyinstances/groovy/build.gradle

    dependencies {
        testImplementation 'org.testng:testng:6.9.4'
    }
    
    // tag::test-config[]
    test {
        useTestNG {
            groupByInstances = true
        }
    }
    // end::test-config[]
    
    test {
        testLogging.showStandardStreams = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 291 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/groovy/build.gradle

    }
    
    dependencies {
        testImplementation 'org.testng:testng:6.9.4'
    }
    
    // tag::test-config[]
    test {
        useTestNG {
            preserveOrder true
        }
    }
    // end::test-config[]
    
    test {
        testLogging.showStandardStreams = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 286 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/kotlin/build.gradle.kts

    dependencies {
        testImplementation("org.testng:testng:6.9.4")
    }
    
    // tag::test-config[]
    tasks.test {
        useTestNG {
            preserveOrder = true
        }
    }
    // end::test-config[]
    
    tasks.test {
        testLogging.showStandardStreams = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 296 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/kotlinDsl/containers-api/kotlin/build.gradle.kts

    tasks.named("assemble") {               // <5>
        dependsOn(":myTask1")
    }
    tasks.register("myTask2") {             // <6>
        description = "Some meaningful words"
    }
    
    tasks.named<Test>("test") {             // <7>
        testLogging.showStackTraces = true
    }
    tasks.register<Copy>("myCopy2") {       // <8>
        from("source")
        into("destination")
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 597 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/kotlinDsl/containers-delegated-properties/kotlin/build.gradle.kts

    val assemble by tasks.existing {
        dependsOn(myTask1)  // <1>
    }
    val myTask2 by tasks.registering {
        description = "Some meaningful words"
    }
    
    val test by tasks.existing(Test::class) {
        testLogging.showStackTraces = true
    }
    val myCopy2 by tasks.registering(Copy::class) {
        from("source")
        into("destination")
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 579 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/kotlinDsl/accessors/kotlin/build.gradle.kts

    java {                                      // <4>
        sourceCompatibility = JavaVersion.VERSION_11
        targetCompatibility = JavaVersion.VERSION_11
    }
    
    tasks {
        test {                                  // <5>
            testLogging.showExceptions = true
            useJUnit()
        }
    }
    // end::accessors[]
    
    repositories {
        mavenCentral()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 833 bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy

            """
                test {
                    testLogging {
                        events(${events.collect { "'$it'" }.join(', ')})
                    }
                }
            """
        }
    
        private static String testLoggingStandardStream() {
            """
                test {
                    testLogging {
                        showStandardStreams = true
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 14:21:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/kotlinDsl/noAccessors/kotlin/build.gradle.kts

    configure<JavaPluginExtension> {
        sourceCompatibility = JavaVersion.VERSION_11
        targetCompatibility = JavaVersion.VERSION_11
    }
    // end::project-extension[]
    
    // tag::tasks[]
    tasks {
        named<Test>("test") {
            testLogging.showExceptions = true
        }
    }
    // end::tasks[]
    // end::no-accessors[]
    
    repositories {
        mavenCentral()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top