Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for includeTestsMatching (0.24 sec)

  1. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/TestFilter.java

     *          includeTestsMatching "SomeTest"
     *          includeTestsMatching "SomeTest.someTestMethod*"
     *
     *          //specific test class
     *          includeTestsMatching "org.gradle.SomeTest"
     *
     *          //specific test class and method
     *          includeTestsMatching "org.gradle.SomeTest.someSpecificFeature"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/testing/filtering/groovy/build.gradle

    }
    
    // tag::test-filtering[]
    test {
        filter {
            //include specific method in any of the tests
            includeTestsMatching "*UiCheck"
    
            //include all tests from package
            includeTestsMatching "org.gradle.internal.*"
    
            //include all integration tests
            includeTestsMatching "*IntegTest"
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 474 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/testing/filtering/kotlin/build.gradle.kts

    }
    
    // tag::test-filtering[]
    tasks.test {
        filter {
            //include specific method in any of the tests
            includeTestsMatching("*UiCheck")
    
            //include all tests from package
            includeTestsMatching("org.gradle.internal.*")
    
            //include all integration tests
            includeTestsMatching("*IntegTest")
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 479 bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/filter/DefaultTestFilterTest.groovy

        def spec = new DefaultTestFilter()
    
        def "allows configuring test names"() {
            expect: spec.includePatterns.isEmpty()
    
            when:
            spec.includeTestsMatching("*fooMethod")
            spec.includeTestsMatching("*.FooTest.*")
    
            then: spec.includePatterns == ["*fooMethod", "*.FooTest.*"] as Set
    
            when: spec.setIncludePatterns("x")
    
            then: spec.includePatterns == ["x"] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/swift/testFiltering/groovy/build.gradle

    plugins {
        id 'xctest'
    }
    
    // tag::test-filtering[]
    xctest {
        binaries.configureEach {
            runTask.get().configure {
                // include all tests from test class
                filter.includeTestsMatching "SomeIntegTest.*" // or `"Testing.SomeIntegTest.*"` on macOS
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 319 bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4FilteringIntegrationTest.groovy

        def "can filter parameterized tests from the build file."() {
            given:
            // this addition to the build file ...
            buildFile << """
                test {
                  filter {
                    includeTestsMatching "*ParameterizedFoo.pass*"
                  }
                }
            """
            // and ...
            theParameterizedFiles()
    
            when:
            succeedsWithTestTaskArguments("test")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestFilteringIntegrationTest.groovy

            where:
            includeType                   | includeConfig
            "include and exclude"         | "include '*Test*'; exclude '*BTest*'"
            "filter.includeTestsMatching" | "filter { includeTestsMatching '*ATest*'; includeTestsMatching '*CTest*' }"
            "filter.includePatterns"      | "filter { includePatterns = ['*ATest*', '*CTest*'] }"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  8. testing/smoke-test/build.gradle.kts

                filter {
                    includeTestsMatching(gradleBuildTestPattern)
                }
            }
        }
    
        register<SmokeTest>("santaTrackerSmokeTest") {
            description = "Runs Santa Tracker Smoke tests"
            configureForSmokeTest(santaTracker)
            useJUnitPlatform {
                filter {
                    includeTestsMatching(santaTrackerTestPattern)
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/swift/testFiltering/kotlin/build.gradle.kts

    plugins {
        xctest
    }
    
    // tag::test-filtering[]
    xctest {
        binaries.configureEach {
            runTask.get().filter.includeTestsMatching("SomeIntegTest.*") // or `"Testing.SomeIntegTest.*"` on macOS
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 232 bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/AbstractTestNGFilteringIntegrationTest.groovy

            given:
            theUsualFiles()
            // and this addition to the build file ...
            buildFile << """
                test {
                  filter {
                    includeTestsMatching "*AwesomeSuite*"
                  }
                }
            """
    
            when:
            run("test")
    
            then:
            def result = new DefaultTestExecutionResult(testDirectory)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top