Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for excludeGroups (0.28 sec)

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

            this.includeGroups.addAll(Arrays.asList(includeGroups));
            return this;
        }
    
        public TestNGOptions excludeGroups(String... excludeGroups) {
            this.excludeGroups.addAll(Arrays.asList(excludeGroups));
            return this;
        }
    
        public TestNGOptions useDefaultListeners() {
            useDefaultListeners = true;
            return this;
        }
    
    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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy

                    ngIncluded = "database"
                    ngExcluded = "slow"
                }
                test {
                    useTestNG {
                        includeGroups ngIncluded
                        excludeGroups ngExcluded
                    }
                }
            """.stripIndent()
            file('src/test/java/org/gradle/groups/SomeTest.java') << '''
                package org.gradle.groups;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top