Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 56 for testLogging (0.26 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformLoggingIntegrationTest.groovy

    import spock.lang.Issue
    
    class JUnitPlatformLoggingIntegrationTest extends JUnitPlatformIntegrationSpec {
    
        @Override
        def setup() {
            buildFile << """
                test {
                    testLogging {
                        events "passed", "skipped", "failed"
                    }
                }
            """
        }
    
        def "should log display names if present"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r85/TestLauncherDebugCrossVersionTest.groovy

                    suites {
                        test {
                            useJUnitJupiter()
                        }
                    }
                }
                tasks.named('test') {
                    testLogging {
                        showStandardStreams = true
                    }
                    doFirst {
                        System.out.println("Debug mode enabled: " + debugOptions.enabled.get())
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 29 08:00:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        if (project.hasProperty("org.gradle.integtest.debug")) {
            systemProperties["org.gradle.integtest.debug"] = "true"
            testLogging.showStandardStreams = true
        }
        // TODO Move magic property out
        if (project.hasProperty("org.gradle.integtest.verbose")) {
            testLogging.showStandardStreams = true
        }
        // TODO Move magic property out
        if (project.hasProperty("org.gradle.integtest.launcher.debug")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestOutputListenerIntegrationTest.groovy

                ${mavenCentralRepository()}
                dependencies {
                    ${testFrameworkDependencies}
                }
    
                test.${configureTestFramework}
                test.testLogging {
                    showStandardStreams = true
                }
            """
    
            when:
            executer.withArgument('-i')
            succeeds('test')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsIntegrationTest.groovy

            file("build.gradle") << """
                plugins { id 'groovy-gradle-plugin' }
                repositories { mavenCentral() }
                dependencies { testImplementation("junit:junit:4.13") }
                test.testLogging {
                    showStandardStreams = true
                    showExceptions = true
                }
            """
            def plugin = file('src/main/groovy/my-plugin.gradle')
            loggingListener(plugin)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r84/TestLauncherCompositeBuildCrossVersionTest.groovy

                    suites {
                        test {
                            useJUnitJupiter()
                        }
                    }
                }
                tasks.named('test') {
                    testLogging {
                        showStandardStreams = true
                    }
                }
            '''
            writeTestClass(projectDir, 'TestClass1')
            writeTestClass(projectDir, 'TestClass2')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  7. build.gradle.kts

        javaLauncher.set(javaToolchains.launcherFor {
          languageVersion.set(JavaLanguageVersion.of(testJavaVersion))
        })
    
        maxParallelForks = Runtime.getRuntime().availableProcessors() * 2
        testLogging {
          exceptionFormat = TestExceptionFormat.FULL
        }
    
        systemProperty("okhttp.platform", platform)
        systemProperty("junit.jupiter.extensions.autodetection.enabled", "true")
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:32:42 UTC 2024
    - 8.9K bytes
    - Viewed (1)
  8. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.api.tasks.testing.logging.TestLogging.getMaxGranularity()> does not have raw return type assignable to org.gradle.api.provider.Property in (TestLogging.java:0)
    Method <org.gradle.api.tasks.testing.logging.TestLogging.getMinGranularity()> does not have raw return type assignable to org.gradle.api.provider.Property in (TestLogging.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformEnvironmentIntegrationTest.groovy

                    systemProperties.testSysProperty = 'value'
                    systemProperties.projectDir = projectDir
                    environment.TEST_ENV_VAR = 'value'
                    testLogging.showStandardStreams = true
                }
            """
        }
    
        def "should prompt user to add dependencies when they are not in test runtime classpath"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

                ${mavenCentralRepository()}
                dependencies {
                    ${testFrameworkDependencies}
                }
                test {
                    ${configureTestFramework}
                    testLogging {
                        events "passed", "skipped", "failed"
                    }
                }
            """.stripIndent()
    
            and:
            file("src/test/java/FirstTest.java") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top