Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for showStandardStreams (0.43 sec)

  1. platforms/documentation/docs/src/snippets/testing/testng-groupbyinstances/kotlin/build.gradle.kts

    }
    
    // tag::test-config[]
    tasks.test {
        useTestNG {
            groupByInstances = 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
    - 299 bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/DefaultTestLoggingTest.groovy

            when:
            logging.setShowStandardStreams(true)
    
            then:
            logging.showStandardStreams
            logging.events == [STANDARD_OUT, STANDARD_ERROR] as Set
    
            when:
            logging.setShowStandardStreams(false)
    
            then:
            !logging.showStandardStreams
            logging.events == [] as Set
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGTestOutputListenerTest.groovy

                ${mavenCentralRepository()}
                dependencies { testImplementation 'org.testng:testng:6.3.1' }
    
                test {
                    useTestNG()
                    testLogging.showStandardStreams = true
                }
            """.stripIndent()
    
            when: "run with quiet"
            executer.withArguments("-q")
            succeeds('test')
    
            then:
            outputDoesNotContain('output from foo')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/kotlin/build.gradle.kts

    }
    
    // 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)
  7. platforms/jvm/testing-jvm/src/integTest/resources/org/gradle/testing/cucumberjvm/CucumberJVMReportIntegrationTest/testReportingSupportsCucumberStepsWithSlashes/build.gradle

    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation "io.cucumber:cucumber-java:6.8.1"
        testImplementation "io.cucumber:cucumber-junit:6.8.1"
    }
    
    test {
        testLogging.showStandardStreams = true
        testLogging.events 'started', 'passed', 'skipped', 'failed', 'standardOut', 'standardError'
        reports.junitXml.required = true
        reports.html.required = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy

            """
                test {
                    testLogging {
                        showStandardStreams = true
                    }
                }
            """
        }
    
        private static String testLoggingStandardStreamWithEmptyEventSet() {
            """
                test {
                    showStandardStreams = true
                    testLogging.events = setOf()
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 14:21:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformLauncherSessionListenerIntegrationTest.groovy

                    testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
                }
    
                test {
                    useJUnitPlatform()
                    testLogging.showStandardStreams = true
                }
            """
            file("src/test/java/com/example/MyTest.java") << """
                package com.example;
    
                public class MyTest {
                    @org.junit.jupiter.api.Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.testing.logging.TestLogging.xml

                </tr>
                <tr>
                    <td>showCauses</td>
                </tr>
                <tr>
                    <td>showStackTraces</td>
                </tr>
                <tr>
                    <td>showStandardStreams</td>
                </tr>
                <tr>
                    <td>exceptionFormat</td>
                </tr>
                <tr>
                    <td>stackTraceFilters</td>
                </tr>
            </table>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top