Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for excludeGroups (0.15 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/TestNGOptionsIntegrationTest.groovy

                            useTestNG()
                            targets.all {
                                testTask.configure {
                                    options {
                                        excludeGroups "exclude"
                                    }
                                }
                            }
                        }
                    }
                }
            """
            writeSources(file("src/test/java"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/testng/TestNGOptionsTest.groovy

            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
        }
    
        def copyFromOverridesOldOptions() {
            given:
    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.useDefaultListener = useDefaultListener;
            this.threadPoolFactoryClass = threadPoolFactoryClass;
            this.includeGroups = includeGroups;
            this.excludeGroups = excludeGroups;
            this.listeners = listeners;
            this.configFailurePolicy = configFailurePolicy;
            this.preserveOrder = preserveOrder;
            this.groupByInstances = groupByInstances;
    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

    }
    
    dependencies {
        testImplementation("org.testng:testng:6.3.1")
    }
    
    // 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

    plugins {
        id 'java'
    }
    
    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

                }
            """
    
            and:
            succeeds ':test'
    
            then:
            executedAndNotSkipped ':test'
    
            where:
            property              | modification
            'excludeGroups'       | '= ["group to exclude"]'
            'includeGroups'       | '= ["group to include"]'
            'outputDirectory'     | '= file("$buildDir/my-out")'
            'suiteXmlFiles'       | '= [file("suite.xml")]'
    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/software/maven/src/integTest/resources/org/gradle/integtests/publish/maven/pomGeneration/expectedPom.txt

              <groupId>excludeGroup</groupId>
            </exclusion>
          </exclusions>
        </dependency>
        <dependency>
          <groupId>group3</groupId>
          <artifactId>runtime</artifactId>
          <version>1.0</version>
          <scope>runtime</scope>
          <exclusions>
            <exclusion>
              <artifactId>excludeArtifact2</artifactId>
              <groupId>excludeGroup2</groupId>
            </exclusion>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. platforms/software/maven/src/integTest/resources/org/gradle/integtests/publish/maven/pomGeneration/expectedNewPom.txt

              <groupId>excludeGroup</groupId>
            </exclusion>
          </exclusions>
        </dependency>
        <dependency>
          <groupId>group3</groupId>
          <artifactId>runtime</artifactId>
          <version>1.0</version>
          <scope>runtime</scope>
          <exclusions>
            <exclusion>
              <artifactId>excludeArtifact2</artifactId>
              <groupId>excludeGroup2</groupId>
            </exclusion>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/BuildscriptRepositoryContentFilteringIntegrationTest.groovy

            run 'buildEnvironment'
    
            then:
            outputContains("org:foo:1.0")
    
            where:
            inSettings  | notation
            true        | "excludeGroup('org')"
            true        | "excludeGroupByRegex('or.+')"
            false       | "excludeGroup('org')"
            false       | "excludeGroupByRegex('or.+')"
        }
    
        def 'exclusive content filtering in settings prevents adding repositories in project'() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/artifacts/repositories/RepositoryContentDescriptor.java

        /**
         * Declares that an entire group shouldn't be searched for in this repository.
         *
         * @param group the group name
         */
        void excludeGroup(String group);
    
        /**
         * Declares that an entire group and its subgroups shouldn't be searched for in this repository.
         *
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 10 23:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top