Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 98 for TestTask (0.15 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGDryRunFilteringIntegrationTest.groovy

                        dryRunTest(JvmTestSuite) {
                            ${configureTestFramework}
    
                            targets {
                                all {
                                    testTask.configure {
                                        dryRun.set(true)
                                    }
                                }
                            }
                        }
                        test {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/TestExecutionResultEvaluatorTest.groovy

            1 * testResult.getFailedTestCount() >> 1
    
            def testTask = Mock(TaskInternal)
            1 * testTask.getPath() >> ":someproject:someTestTask"
            def taskBuildOperation = BuildOperationDescriptor.displayName("task")
                .details(new ExecuteTaskBuildOperationDetails(Stub(LocalTaskNode) {
                    getTask() >> testTask
                }))
                .build(new OperationIdentifier(1), null)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. 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)
  4. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestFramework.java

        private final Factory<File> testTaskTemporaryDir;
        private final Provider<Boolean> dryRun;
    
        public JUnitTestFramework(Test testTask, DefaultTestFilter filter, boolean useImplementationDependencies) {
            this(filter, useImplementationDependencies, new JUnitOptions(), testTask.getTemporaryDirFactory(), testTask.getDryRun());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/JUnitOptionsIntegrationTest.groovy

            buildFile << """
                testing {
                    suites {
                        test {
                            useJUnit()
                            targets.all {
                                testTask.configure {
                                    options {
                                        excludeCategories "com.example.Exclude"
                                    }
                                }
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGFailurePolicyIntegrationTest.groovy

            buildFile << """
                testing {
                    suites {
                        test {
                            targets {
                                all {
                                    testTask.configure {
                                        options {
                                            configFailurePolicy "continue"
                                        }
                                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. 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)
  8. platforms/documentation/docs/src/samples/incubating/java/modules-multi-project-with-integration-tests/kotlin/buildSrc/src/main/kotlin/myproject.java-conventions.gradle.kts

            val integrationTest by registering(JvmTestSuite::class) {
                dependencies {
                    implementation(project())
                }
    
                targets {
                    all {
                        testTask.configure {
                            shouldRunAfter(test)
                        }
                    }
                }
            }
        }
    }
    
    tasks.named("check") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 661 bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/integTest/resources/org/gradle/testing/RetainStacktraceForInheritedTestMethodsTest/retainsStackTraceForInheritedTestMethods/build.gradle

    import org.gradle.api.tasks.testing.logging.TestExceptionFormat
    
    plugins {
        id 'java-library'
    }
    
    repositories {
        mavenCentral()
    }
    
    testing.suites.test {
        useJUnitJupiter()
        targets.test.testTask.configure {
            testLogging {
                exceptionFormat = TestExceptionFormat.FULL
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 314 bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

                   suites {
                       $suiteDeclaration {
                           useJUnit()
                           targets {
                               all {
                                   testTask.configure {
                                       options {
                                           includeCategories 'CategoryA'
                                       }
                                   }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top