Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for TestType (0.27 sec)

  1. .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(),
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 23 01:54:48 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

    internal
    fun Project.createTasks(sourceSet: SourceSet, testType: 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"
            val testTask = createTestTask(taskName, executer, sourceSet, testType) {}
            if (executer == defaultExecuter) {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. .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)
                    }
                }
            }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Feb 15 17:04:41 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  4. .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(
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/projects/StageProject.kt

                        }
                    )
                )
            }
        }
    
        private
        val TestCoverage.isCrossVersionTest
            get() = testType in setOf(TestType.allVersionsCrossVersion, TestType.quickFeedbackCrossVersion)
    
        private
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

            os = testCoverage.os,
            buildJvm = testCoverage.buildJvm,
            arch = testCoverage.arch,
            extraParameters = assembledExtraParameters,
            timeout = testCoverage.testType.timeout,
            maxParallelForks = testCoverage.testType.maxParallelForks.toString(),
            extraSteps = extraBuildSteps,
            preSteps = preBuildSteps
        )
    
        failureConditions {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 16:49:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. .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)
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Jan 18 05:14:09 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

                ).joinToString(separator = " ")
            steps {
                gradleWrapper {
                    name = "FLAKY_TEST_QUARANTINE_${testCoverage.testType.name.uppercase()}_${testCoverage.testJvmVersion.name.uppercase()}"
                    tasks = "${if (index == 0) "clean " else ""}${testCoverage.testType.name}Test"
                    gradleParams = parameters
                    executionMode = BuildStep.ExecutionMode.ALWAYS
                }
            }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

     */
    fun Project.supportsPredictiveTestSelection() = !isPerformanceProject() && !setOf("smoke-test", "soak", "kotlin-dsl", "smoke-ide-test").contains(name)
    
    /**
     * Test lifecycle tasks that correspond to CIBuildModel.TestType (see .teamcity/Gradle_Check/model/CIBuildModel.kt).
     */
    fun TaskContainer.registerCITestDistributionLifecycleTasks() {
        val ciGroup = "CI Lifecycle"
    
        register("quickTest") {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	// simple function which returns a message which gives the context of the test
    	// and then followed by the actual error message.
    	failTestStr := func(testType, failMsg string) string {
    		return fmt.Sprintf("MinIO %s: %s fail for \"%s\": \n<Error> %s", instanceType, testType, testName, failMsg)
    	}
    
    	// httptest Recorder to capture all the response by the http handler.
    	rec := httptest.NewRecorder()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top