Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for TestType (0.05 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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        val functionalTests: Boolean = true,
        val crossVersionTests: Boolean = false,
    ) {
        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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Nov 05 13:00:26 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild.integration-tests.gradle.kts

        extendsFrom(configurations.named("integTestDistributionRuntimeOnly").get())
    }
    createTasks(sourceSet, TestType.INTEGRATION)
    configureIde(TestType.INTEGRATION)
    
    createTestTask("integMultiVersionTest", "forking", sourceSet, TestType.INTEGRATION) {
        // This test task runs only multi-version tests and is intended to be used in the late pipeline to sweep up versions not previously tested
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 18 16:39:23 UTC 2025
    - 2.4K bytes
    - Viewed (5)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            for (stage in model.stages) {
                for (testCoverage in stage.functionalTests) {
                    if (testCoverage.testType !in
                        listOf(TestType.ALL_VERSIONS_CROSS_VERSION, TestType.QUICK_FEEDBACK_CROSS_VERSION, TestType.SOAK)
                    ) {
                        result[testCoverage] = splitBucketsByTestClassesForBuildProject(testCoverage, buildProjectClassTimes)
                    }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

        ): List<FunctionalTest> =
            when {
                testCoverage.testType == TestType.QUICK_FEEDBACK_CROSS_VERSION ->
                    quickCrossVersionTestBucketProvider.createFunctionalTestsFor(
                        stage,
                        testCoverage,
                    )
                testCoverage.testType == TestType.ALL_VERSIONS_CROSS_VERSION ->
                    allCrossVersionTestBucketProvider.createFunctionalTestsFor(
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Sep 24 08:38:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/projects/StageProject.kt

                            }
                        },
                    ),
                )
            }
        }
    
        private val TestCoverage.isCrossVersionTest
            get() = testType in setOf(TestType.ALL_VERSIONS_CROSS_VERSION, TestType.QUICK_FEEDBACK_CROSS_VERSION)
    
        private fun createPerformanceTests(
            model: CIBuildModel,
            performanceTestBucketProvider: PerformanceTestBucketProvider,
            stage: Stage,
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 16 00:34:25 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                buckets: List<List<String>>,
                testType: TestType,
                functionalTests: List<BaseGradleBuildType>,
            ) {
                buckets.forEachIndexed { index: Int, startEndVersion: List<String> ->
                    assertTrue(functionalTests[index].name.contains("(${startEndVersion[0]} <= gradle <${startEndVersion[1]})"))
                    assertEquals("clean ${testType.asCamelCase()}Test", functionalTests[index].getGradleTasks())
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 16 01:27:05 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

    import common.getBuildScanCustomValueParam
    import jetbrains.buildServer.configs.kotlin.DslContext
    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import model.TestCoverage
    import model.TestType
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    import java.io.File
    
    class BuildScanTagUtilsTest {
        init {
            DslContext.initForTest()
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Aug 05 16:58:51 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            }
        }
    }
    
    
    internal
    fun Project.createTasks(sourceSet: SourceSet, testType: TestType) {
        createGenerateAutoTestedSamplesTestTask(sourceSet, testType)
    
        val prefix = testType.prefix
        val defaultExecuter = "embedded"
        // For all the other executers, add an executer specific task
        testType.executers.forEach { executer ->
            val taskName = "$executer${prefix.capitalize()}Test"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 18 16:39:23 UTC 2025
    - 12.8K 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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Sep 05 02:31:24 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top