Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for TestCoverage (0.12 sec)

  1. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            val result = mutableMapOf<TestCoverage, List<SmallSubprojectBucket>>()
            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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 29 11:04:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        val subprojects: GradleSubprojectProvider
    )
    
    fun TestCoverage.getBucketUuid(model: CIBuildModel, bucketIndex: Int) = asConfigurationId(model, "bucket${bucketIndex + 1}")
    
    interface BuildTypeBucket {
        fun createFunctionalTestsFor(model: CIBuildModel, stage: Stage, testCoverage: TestCoverage, bucketIndex: Int): FunctionalTest
    
        fun getName(testCoverage: TestCoverage): String = throw UnsupportedOperationException()
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 06:14:14 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

        this.id(id)
        val testTasks = getTestTaskName(testCoverage, subprojects)
    
        val assembledExtraParameters = mutableListOf(
            stage.getBuildScanCustomValueParam(testCoverage),
            functionalTestExtraParameters(listOf(functionalTestTag), testCoverage.os, testCoverage.arch, testCoverage.testJvmVersion.major.toString(), testCoverage.vendor.name),
            "-PflakyTests=${determineFlakyTestStrategy(stage)}",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 06:14:43 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/FunctionalTestsPass.kt

            applyDefaultSettings()
    
            dependencies {
                snapshotDependencies(functionalTestProject.functionalTests)
            }
        }) {
        val testCoverage: TestCoverage = functionalTestProject.testCoverage
    
        override val failStage: Boolean
            get() = testCoverage.failStage
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 07:23:49 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

            steps {
                gradleWrapper {
                    name = "FLAKY_TEST_QUARANTINE_${testCoverage.testType.name.uppercase()}_${testCoverage.testJvmVersion.name.uppercase()}"
                    val testTaskName =
                        if (testCoverage.testType == TestType.isolatedProjects) "isolatedProjectsIntegTest" else "${testCoverage.testType.name}Test"
                    tasks = "${if (index == 0) "clean " else ""}$testTaskName"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/common/BuildScanUtils.kt

            .slice(this.stageName.ordinal until StageName.READY_FOR_RELEASE.ordinal + 1)
            .map { it.uuid }
    }
    
    fun Stage.getBuildScanCustomValueParam(testCoverage: TestCoverage? = null): String {
        val customValues = if (testCoverage != null) {
            listOf(testCoverage.asBuildScanCustomValue()) + getBuildScanCustomValues()
        } else {
            getBuildScanCustomValues()
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/projects/FunctionalTestProject.kt

    import model.Stage
    import model.TestCoverage
    
    const val DEFAULT_FUNCTIONAL_TEST_BUCKET_SIZE = 50
    const val DEFAULT_LINUX_FUNCTIONAL_TEST_BUCKET_SIZE = 20
    const val DEFAULT_MACOS_FUNCTIONAL_TEST_BUCKET_SIZE = 20
    
    class FunctionalTestProject(
        val model: CIBuildModel,
        functionalTestBucketProvider: FunctionalTestBucketProvider,
        val testCoverage: TestCoverage,
        val stage: Stage
    ) : Project({
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 29 11:04:48 UTC 2024
    - 862 bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/projects/StageProject.kt

            topLevelFunctionalTests.forEach(this::buildType)
    
            val functionalTestProjects = allCoverage.map { testCoverage -> FunctionalTestProject(model, functionalTestBucketProvider, testCoverage, stage) }
    
            functionalTestProjects.forEach { functionalTestProject ->
                ******@****.***ject(functionalTestProject)
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 07 09:17:14 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

    import common.asBuildScanCustomValue
    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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. .teamcity/src/test/kotlin/BuildTypeTest.kt

    import configurations.FunctionalTest
    import configurations.GRADLE_RUNNER_STEP_NAME
    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 BuildTypeTest {
        init {
            DslContext.initForTest()
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top