Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for TestTask (0.2 sec)

  1. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestExecutionBuildConfigurationAction.java

                String testTaskPath = entry.getKey();
                for (AbstractTestTask testTask : queryTestTasks(context, testTaskPath)) {
                    configureTestTask(testTask);
                    for (InternalJvmTestRequest jvmTestRequest : entry.getValue()) {
                        final TestFilter filter = testTask.getFilter();
                        filter.includeTest(jvmTestRequest.getClassName(), jvmTestRequest.getMethodName());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestOptionsIntegrationSpec.groovy

                    test {
                        useJUnitJupiter()
                        targets.all {
                            // explicitly realize the task now to cause this configuration to run now
                            testTask.get().configure {
                                options {
                                    includeTags 'fast'
                                }
                            }
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTest.groovy

        }
    
        def "fails if custom executable is a directory"() {
            def testTask = project.tasks.create("test", Test)
            def executableDir = temporaryFolder.createDir("javac")
    
            when:
            testTask.executable = executableDir.absolutePath
            testTask.javaVersion
    
            then:
            def e = thrown(AbstractProperty.PropertyQueryException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java

        public static class TestTask extends DefaultTask {
            final Runnable action;
    
            @Inject
            public TestTask(Runnable action) {
                this.action = action;
            }
    
            @TaskAction
            public void doStuff() {
                action.run();
            }
        }
    
        public static class TaskWithInheritedMethod extends TestTask {
            @Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 11:41:48 UTC 2022
    - 15.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/core-plugins/jacoco_plugin.adoc

    .Define dependencies between code coverage reports and test execution
    ====
    include::sample[dir="snippets/testing/jacoco-quickstart/kotlin",files="build.gradle.kts[tags=testtask-dependency]"]
    include::sample[dir="snippets/testing/jacoco-quickstart/groovy",files="build.gradle[tags=testtask-dependency]"]
    ====
    
    [[sec:configuring_the_jacoco_plugin]]
    == Configuring the JaCoCo Plugin
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 10.4K 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. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestReportTaskIntegrationTest.groovy

                    testResults.from([
                        testing.suites.test.targets.test.testTask,
                        testing.suites.superTest.targets.superTest.testTask,
                        testing.suites.subTest.targets.subTest.testTask
                    ])
                }
    
                tasks.named('build').configure { it.dependsOn testReport }
            """.stripIndent()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  8. 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)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

                task(asMethod)\n{ description = 'value' }
                task asStatement(type: TestTask) { property = 'value' }
                task "dynamic"(type: TestTask) { property = 'value' }
                ext.v = task(asExpression, type: TestTask) { property = 'value' }
                task(postConfigure, type: TestTask).configure { property = 'value' }
                [asStatement, dynamic, asExpression, postConfigure].each {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/plugins/JacocoPlugin.java

                defaultTestSuite.getTargets().configureEach(target -> {
                    TaskProvider<Test> testTask = target.getTestTask();
                    addDefaultReportTask(extension, testTask);
                    addDefaultCoverageVerificationTask(testTask);
                });
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 21:09:25 UTC 2023
    - 14K bytes
    - Viewed (0)
Back to top