Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withNonfailingTest (0.26 sec)

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

        }
    
        def "all tests run with #description"() {
            given:
            buildFile.text = generator.initBuildFile()
            buildFile << buildConfig
            generator.withFailingTest()
            generator.withNonfailingTest()
            def testExecution = server.expectConcurrentAndBlock(DEFAULT_MAX_WORKERS, FAILED_RESOURCE, OTHER_RESOURCE)
    
            when:
            def gradleHandle = executer.withTasks(taskList).start()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/fixture/JvmBlockingTestClassGenerator.groovy

                        ${server.callFromBuild("$FAILED_RESOURCE")}
                        throw new RuntimeException();
                    }
                }
            """.stripIndent()
        }
    
        void withNonfailingTest() {
            root.file('src/test/java/pkg/OtherTest.java') << """
                package pkg;
                $testFrameworkImports
                public class OtherTest {
                    @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top