Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for TestTask (1.27 sec)

  1. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/TestExecutionBuildTaskSchedulerTest.groovy

            _ * testTask.getFilter() >> testFilter
            _ * tasksContainerInternal.findByPath(TEST_TASK_NAME) >> testTask
            TaskCollection<Test> testTaskCollection = Mock()
            _ * testTaskCollection.iterator() >> [testTask].iterator()
            _ * tasksContainerInternal.withType(AbstractTestTask) >> testTaskCollection
            _ * testTask.getOutputs() >> outputsInternal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestFrameworkTest.groovy

        }
    
        def "can configure TestNG with an Action"() {
            when:
            testTask.useTestNG { TestNGOptions options ->
                options.suiteName = 'Custom Suite'
            }
    
            then:
            testTask.options.suiteName == 'Custom Suite'
        }
    
        TestNGTestFramework createFramework() {
            new TestNGTestFramework(testTask, new DefaultTestFilter(), objects)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGUpToDateCheckIntegrationTest.groovy

                    suites {
                        test {
                            useTestNG('${TestNGCoverage.NEWEST}')
                            targets {
                                all {
                                    testTask.configure {
                                        options {
                                            /* left empty */
                                        }
                                    }
                                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestFramework.java

        private final Provider<Boolean> dryRun;
    
        public TestNGTestFramework(final Test testTask, DefaultTestFilter filter, ObjectFactory objects) {
            this(
                filter,
                objects,
                testTask.getTemporaryDirFactory(),
                testTask.getReports().getHtml(),
                objects.newInstance(TestNGOptions.class),
                testTask.getDryRun()
            );
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesMultiTargetIntegrationTest.groovy

                testing {
                    suites {
                        test {
                            useJUnit()
                            targets {
                                all {
                                    testTask.configure {
                                        doLast {
                                            assert testFramework instanceof ${JUnitTestFramework.canonicalName}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

                    "task rootTask",
                    "task testTask",
                    "class ConventionBean { def getConventionProperty() { 'convention' } }"
            )
            file("child/build.gradle").writelns(
                    "ext.childProperty = 'child'",
                    "ext.sharedProperty = 'shared'",
                    "task testTask {",
                    "  doLast { new Reporter().checkProperties(project) }",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

        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")
                this.systemProperties["org.gradle.integtest.crossVersion"] = "true"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/kotlin-multiplatform-js-jvm-example/build.gradle.kts

     */
    
    plugins {
        kotlin("multiplatform") version "$kotlinVersion"
    }
    
    repositories {
        mavenCentral()
    }
    
    kotlin {
        js(IR) {
            browser {
                testTask {
                    useKarma {
                        useChromeHeadless()
                        $enableCssSupportOld
                    }
                }
    
                $enableCssSupportNew
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 07:33:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. platforms/jvm/jacoco/src/test/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginSpec.groovy

            given:
            project.apply plugin: 'java'
            RepoScriptBlockUtil.configureMavenCentral(project.repositories)
            def testTask = project.tasks.getByName('test')
            JacocoTaskExtension extension = testTask.extensions.getByType(JacocoTaskExtension)
    
            when:
            extension.with {
                destinationFile = project.file('build/jacoco/fake.exec')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/RealLifeAndroidBuildPerformanceTest.groovy

                    subprojects {
                        tasks.withType(com.android.build.gradle.tasks.factory.AndroidUnitTest) { testTask ->
                            testTask.finalizedBy(finalizerTask)
                            finalizerTask.configure {
                                dependsOn testTask
                            }
                        }
                    }
                """.stripIndent()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top