Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for includeGroups (0.15 sec)

  1. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/testng/TestNGOptions.java

                    }
                });
    
                suites.add(buildSuiteXml);
            }
    
            return suites;
        }
    
        public TestNGOptions includeGroups(String... includeGroups) {
            this.includeGroups.addAll(Arrays.asList(includeGroups));
            return this;
        }
    
        public TestNGOptions excludeGroups(String... excludeGroups) {
            this.excludeGroups.addAll(Arrays.asList(excludeGroups));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/testng/TestNGOptionsTest.groovy

            when:
            testngOptions.includeGroups(groups)
    
            then:
            testngOptions.includeGroups == groups as Set
            testngOptions.excludeGroups.empty
        }
    
        def testExcludeGroups() {
            when:
            testngOptions.excludeGroups(groups)
    
            then:
            testngOptions.excludeGroups == groups as Set
            testngOptions.includeGroups.empty
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGSpec.java

            this.suiteThreadPoolSize = suiteThreadPoolSize;
            this.useDefaultListener = useDefaultListener;
            this.threadPoolFactoryClass = threadPoolFactoryClass;
            this.includeGroups = includeGroups;
            this.excludeGroups = excludeGroups;
            this.listeners = listeners;
            this.configFailurePolicy = configFailurePolicy;
            this.preserveOrder = preserveOrder;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testing/testng-groups/kotlin/build.gradle.kts

    }
    
    // tag::test-config[]
    tasks.named<Test>("test") {
        useTestNG {
            val options = this as TestNGOptions
            options.excludeGroups("integrationTests")
            options.includeGroups("unitTests")
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 360 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/testing/testng-groups/groovy/build.gradle

    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation 'org.testng:testng:6.3.1'
    }
    
    // tag::test-config[]
    test {
        useTestNG {
            excludeGroups 'integrationTests'
            includeGroups 'unitTests'
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 281 bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGUpToDateCheckIntegrationTest.groovy

            then:
            executedAndNotSkipped ':test'
    
            where:
            property              | modification
            'excludeGroups'       | '= ["group to exclude"]'
            'includeGroups'       | '= ["group to include"]'
            'outputDirectory'     | '= file("$buildDir/my-out")'
            'suiteXmlFiles'       | '= [file("suite.xml")]'
            'suiteXmlBuilder()'   | '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy

            buildFile << """
                ext {
                    ngIncluded = "database"
                    ngExcluded = "slow"
                }
                test {
                    useTestNG {
                        includeGroups ngIncluded
                        excludeGroups ngExcluded
                    }
                }
            """.stripIndent()
            file('src/test/java/org/gradle/groups/SomeTest.java') << '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ExclusiveRepositoryContentFilteringIntegrationTest.groovy

                root(':', ':test:') {
                    module('org:foo:1.0')
                    module('other:bar:2.0')
                }
            }
    
            where:
            notation << [
                "includeGroup 'org'",
                "includeGroupByRegex 'org.*'",
                "includeModule('org', 'foo')",
                "includeModuleByRegex('or[g]', 'f[o]+')",
                "includeVersion('org', 'foo', '1.0')",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.repositories.gradle.kts

            }
        }
        google {
            content {
                includeGroup("com.android.databinding")
                includeGroupByRegex("com\\.android\\.tools(\\.[a-z.\\-]*)?")
            }
        }
        maven {
            name = "CHAMP libs"
            url = uri("https://releases.usethesource.io/maven/")
            mavenContent {
                includeGroup("io.usethesource")
            }
        }
        mavenCentral()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 14:05:00 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/dependencyManagement/declaringRepositories-filtering/groovy/build.gradle

    // tag::repository-filter[]
    repositories {
        maven {
            url "https://repo.mycompany.com/maven2"
            content {
                // this repository *only* contains artifacts with group "my.company"
                includeGroup "my.company"
            }
        }
        mavenCentral {
            content {
                // this repository contains everything BUT artifacts with group starting with "my.company"
                excludeGroupByRegex "my\\.company.*"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top