Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for testType (0.2 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics.testing
    
    import org.gradle.api.tasks.testing.Test
    
    
    enum class TestType(val prefix: String, val executers: List<String>) {
        INTEGRATION("integ", listOf("embedded", "forking", "noDaemon", "parallel", "configCache", "isolatedProjects")),
        CROSSVERSION("crossVersion", listOf("embedded", "forking"))
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            for (stage in model.stages) {
                for (testCoverage in stage.functionalTests) {
                    if (testCoverage.testType !in listOf(TestType.allVersionsCrossVersion, TestType.quickFeedbackCrossVersion, TestType.soak)) {
                        result[testCoverage] = splitBucketsByTestClassesForBuildProject(testCoverage, buildProjectClassTimes)
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:04:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/projects/StageProject.kt

                        }
                    )
                )
            }
        }
    
        private
        val TestCoverage.isCrossVersionTest
            get() = testType in setOf(TestType.allVersionsCrossVersion, TestType.quickFeedbackCrossVersion)
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        fun hasTestsOf(testType: TestType) = (unitTests && testType.unitTests) || (functionalTests && testType.functionalTests) || (crossVersionTests && testType.crossVersionTests)
    }
    
    data class Stage(
        val stageName: StageName,
        val specificBuilds: List<SpecificBuild> = emptyList(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                buckets.forEachIndexed { index: Int, startEndVersion: List<String> ->
                    assertTrue(functionalTests[index].name.contains("(${startEndVersion[0]} <= gradle <${startEndVersion[1]})"))
                    assertEquals("clean ${testType}Test", functionalTests[index].getGradleTasks())
                    assertTrue(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 10:00:06 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild.integration-tests.gradle.kts

        testJvmXmx.convention("512m")
    }
    
    val sourceSet = addSourceSet(TestType.INTEGRATION)
    addDependenciesAndConfigurations(TestType.INTEGRATION.prefix)
    createTasks(sourceSet, TestType.INTEGRATION)
    configureIde(TestType.INTEGRATION)
    
    createTestTask("integMultiVersionTest", "forking", sourceSet, TestType.INTEGRATION) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 21 22:31:45 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/api/plugins/JvmTestSuitePluginIntegrationTest.groovy

            buildFile << """
                plugins {
                    id 'java'
                }
    
                testing {
                    suites {
                        integrationTest(JvmTestSuite) {
                            testType = TestSuiteType.INTEGRATION_TEST
    
                            dependencies {
                                implementation project()
                            }
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            }
            setUpAgentIfNeeded(testType, executer)
            disableIfNeeded(testType, executer)
        }
    
    
    internal
    fun IntegrationTest.disableIfNeeded(testType: TestType, executer: String) {
        if (testType == TestType.INTEGRATION && executer == "isolatedProjects") {
            isEnabled = false
        }
    }
    
    
    private
    fun IntegrationTest.setUpAgentIfNeeded(testType: TestType, executer: String) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

            return when {
                testCoverage.testType == TestType.quickFeedbackCrossVersion -> quickCrossVersionTestBucketProvider.createFunctionalTestsFor(stage, testCoverage)
                testCoverage.testType == TestType.allVersionsCrossVersion -> allCrossVersionTestBucketProvider.createFunctionalTestsFor(stage, testCoverage)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 05:14:09 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

    fun createQuickFeedbackTasks() {
        val testType = TestType.CROSSVERSION
        val defaultExecuter = "embedded"
        val prefix = testType.prefix
        testType.executers.forEach { executer ->
            val taskName = "$executer${prefix.capitalize()}Test"
            val testTask = createTestTask(taskName, executer, sourceSet, testType) {
                this.setSystemPropertiesOfTestJVM("latest")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top