Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for failingTestClass (0.19 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestReportIntegrationTest.groovy

            given:
            buildScript """
                $junitSetup
                test {
                    reports.all { it.required = true }
                }
            """
    
            and:
            failingTestClass "SomeTest"
    
            when:
            fails "test"
    
            then:
            executedAndNotSkipped(":test")
            failure.assertHasCause("There were failing tests. See the report at: ")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestReportTaskIntegrationTest.groovy

            String.format(RECOMMENDATION, "information", "${BASE_URL}/dsl/org.gradle.api.tasks.testing.TestReport.html#org.gradle.api.tasks.testing.TestReport:${sectionPart}")
        }
    
        private void failingTestClass(String name) {
            testClass(name, true)
        }
    
        private void testClass(String name, boolean failing = false) {
            file("src/test/java/${name}.java") << """
                public class $name {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.6K bytes
    - Viewed (0)
Back to top