Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for Test (0.2 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.test-retry.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        id("org.gradle.test-retry")
    }
    
    if (System.getenv().containsKey("CI")) {
        tasks.withType<Test>().configureEach {
            retry {
                maxRetries.set(2)
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 06:43:17 GMT 2023
    - 810 bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/common/performance-test-extensions.kt

                scriptContent = "git clean -fdx -e test-splits/ -e .gradle/workspace-id.txt -e \"*.psoutput\""
                skipConditionally()
                onlyRunOnGitHubMergeQueueBranch()
            }
        }
    }
    
    fun BuildSteps.removeSubstDirOnWindows(os: Os) {
        if (os == Os.WINDOWS) {
            script {
                name = "REMOVE_VIRTUAL_DISK_FOR_PERF_TEST"
                executionMode = BuildStep.ExecutionMode.ALWAYS
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Apr 04 07:21:42 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild.test-fixtures.gradle.kts

     */
    plugins {
        `java-library`
        `java-test-fixtures`
        groovy
        id("gradlebuild.dependency-modules")
    }
    
    // The below mimics what the java-library plugin does, but creating a library of test fixtures instead.
    
    sourceSets.matching { it.name.endsWith("Test") }.all {
        // the 'test' (with lower case 't') source set is already configured to use test fixtures by the JavaTestFixturesPlugin
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. .github/workflows/extract-unit-test-split.jq

    .
     | map(select(.unitTests) | .name)
     | to_entries
     | group_by(.key % 10)
     | map({
         name: map(.value) | join(", "),
         tasks: map(.value + ":test") | join(" "),
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Oct 11 08:08:26 GMT 2021
    - 171 bytes
    - Viewed (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import com.gradle.develocity.agent.gradle.test.DevelocityTestConfiguration
    import gradlebuild.archtest.PackageCyclesExtension
    
    plugins {
        `java-library`
        `jvm-test-suite`
        id("gradlebuild.dependency-modules")
        id("gradlebuild.code-quality")
    }
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 03 13:29:44 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. .github/workflows/notify-on-rc-for-manual-test.yml

    Christoph Obexer <******@****.***> 1714548547 +0200
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 1K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/DocsTest.kt

    mkdir test-splits
    del /f /q test-splits\include-test-classes.properties
    del /f /q test-splits\exclude-test-classes.properties
    (
    $linesWithEcho
    ) > test-splits\$action-test-classes.properties
    echo "Tests to be ${action}d in this build"
    type test-splits\$action-test-classes.properties
    """
    
        return {
            script {
                name = "PREPARE_TEST_CLASSES"
                executionMode = BuildStep.ExecutionMode.ALWAYS
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

        private
        val implementation = PackageListGenerator.Implementation(DEFAULT_EXCLUDES_FOR_TEST)
    
        private
        fun getRelocatedPackages(files: Sequence<Path>): List<String> = mutableListOf<String>().apply {
            implementation.collectPackages(files.toList()).dump(false, this::add)
        }
    
        @Test
        fun `generates a curated list of package prefixes from directories`() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    
    class NullabilityChangesTest : AbstractBinaryCompatibilityTest() {
    
        @Test
        fun `from non-null returning to null returning is breaking (java)`() {
    
            checkNotBinaryCompatibleJava(
                v1 = """
                    public class Source {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt

            }
        }
    
        private
        fun Task.findTraceJson(): List<File> {
            if (this !is Test) {
                return emptyList()
            }
            // e.g. build/test-results/embeddedIntegTest/trace.json
            return listOf(project.layout.buildDirectory.file("test-results/$name/trace.json").get().asFile)
        }
    
        private
        fun Task.genericHtmlReports() = when (this) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Jul 06 10:57:13 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top