Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for initBuildFile (0.14 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)
    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/testng/TestNGFailFastIntegrationTest.groovy

        def "parallel #parallel execution with #threadCount threads, #maxWorkers workers fails fast"() {
            given:
            buildFile.text = generator.initBuildFile(maxWorkers)
            buildFile << """
                test {
                    useTestNG() {
                        parallel = '$parallel'
                        threadCount = $threadCount
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/fixture/JvmBlockingTestClassGenerator.groovy

            this.testFrameworkImports = testFrameworkImports
            this.testFrameworkDependencies = testFrameworkDependencies
            this.testFrameworkConfiguration = testFrameworkConfiguration
        }
    
        String initBuildFile(int maxWorkers = DEFAULT_MAX_WORKERS, int forkEvery = 0) {
            return """
                apply plugin: 'java'
    
                ${RepoScriptBlockUtil.mavenCentralRepository()}
    
                dependencies {
    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