Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for testLogging (0.42 sec)

  1. 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 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitConsoleLoggingIntegrationTest.groovy

                ${mavenCentralRepository()}
    
                dependencies {
                    ${testFrameworkDependencies}
                }
    
                test {
                    ${configureTestFramework}
                    testLogging {
                        quiet {
                            events "skipped", "failed"
                            minGranularity 2
                            maxGranularity -1
                            displayGranularity 3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:58:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerMiscEndUserIntegrationTest.groovy

                            dependencies {
                                implementation localGroovy()
                            }
                        }
                    }
                }
    
                test {
                    testLogging.exceptionFormat = 'full'
                }
            """
        }
    
        @NoDebug
        def "fails appropriately if runner is loaded from a JAR that is not part of the distribution and no explicit version set"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGTestOutputListenerTest.groovy

                apply plugin: 'java'
                ${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:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskLocaleIntegrationTest.groovy

        def "test logging can be configured on turkish locale"() {
            given:
            buildFile << """
                apply plugin:'java'
                test {
                    testLogging {
                        events "passed", "skipped", "failed"
                    }
                }
            """.stripIndent()
    
            when:
            executer
                .requireDaemon()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. platforms/enterprise/enterprise-plugin-performance/src/templates/project-with-source/build.gradle

            projectsConfiguration project(":project${it}") <% } %>
        <% } %>
    }
    
    test {
        jvmArgs '-Xmx1g', '-XX:+HeapDumpOnOutOfMemoryError'
        <% if (binding.hasVariable("fullTestLogging")) { %>
            testLogging {
                if (Boolean.getBoolean("reducedOutput")) {
                    events "failed"
                } else {
                    events "started", "skipped", "failed", "passed", "standard_out", "standard_error"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:38:06 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterConsoleLoggingIntegrationTest.groovy

                    ${testFrameworkDependencies}
                }
    
                test {
                    ${configureTestFramework} {
                        includeEngines 'does-not-exist'
                    }
                    testLogging {
                        minGranularity = 1
                        exceptionFormat = "FULL"
                    }
                }
            """
    
            when:
            executer.withStackTraceChecksDisabled()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:58:24 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. testing/performance/src/templates/project-with-source/build.gradle

    test {
        if (!JavaVersion.current().java8Compatible) {
            jvmArgs '-XX:MaxPermSize=512m'
        }
        jvmArgs '-XX:+HeapDumpOnOutOfMemoryError'
        <% if (binding.hasVariable("fullTestLogging")) { %>
            testLogging {
                events "started", "skipped", "failed", "passed", "standard_out", "standard_error"
            }
        <% } %>
    }
    
    String compilerMemory = getProperty('compilerMemory')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderEndUserIntegrationTest.groovy

            ${mavenCentralRepository()}
    
            testing {
                suites {
                    test {
                        useSpock()
                    }
                }
            }
            test {
                testLogging.exceptionFormat = 'full'
            }
    
            // Needed when using ProjectBuilder
            class AddOpensArgProvider implements CommandLineArgumentProvider {
                private final Test test;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.testing.Test.xml

                    <td>[]</td>
                </tr>
                <tr>
                    <td>excludes</td>
                    <td>[]</td>
                </tr>
                <tr>
                    <td>testLogging</td>
                    <td/>
                </tr>
                <tr>
                    <td>failFast</td>
                    <td><literal>false</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)
Back to top