Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for TestNGOptions (0.38 sec)

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

            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));
            return this;
        }
    
        public TestNGOptions useDefaultListeners() {
    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/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestFramework.java

                testTask.getReports().getHtml(),
                objects.newInstance(TestNGOptions.class),
                testTask.getDryRun()
            );
        }
    
        private TestNGTestFramework(DefaultTestFilter filter, ObjectFactory objects, Factory<File> testTaskTemporaryDir, DirectoryReport htmlReport, TestNGOptions options, Provider<Boolean> dryRun) {
            this.filter = filter;
            this.objects = objects;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. 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)
  4. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestFrameworkTest.groovy

    import org.gradle.api.internal.tasks.testing.filter.DefaultTestFilter
    import org.gradle.api.model.ObjectFactory
    import org.gradle.api.tasks.testing.Test
    import org.gradle.api.tasks.testing.testng.TestNGOptions
    import org.gradle.internal.actor.ActorFactory
    import org.gradle.internal.id.IdGenerator
    import org.gradle.internal.time.Clock
    import org.gradle.testfixtures.ProjectBuilder
    import org.gradle.util.TestUtil
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.api.tasks.testing.testng.TestNGOptions.getConfigFailurePolicy()> does not have raw return type assignable to org.gradle.api.provider.Property in (TestNGOptions.java:0)
    Method <org.gradle.api.tasks.testing.testng.TestNGOptions.getExcludeGroups()> does not have raw return type assignable to org.gradle.api.provider.Property in (TestNGOptions.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
  6. testing/architecture-test/src/changes/archunit-store/public-api-symmetrical-accessors-nullability.txt

    Accessors for org.gradle.api.tasks.javadoc.Javadoc.maxMemory don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.testing.Test.forkEvery don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.testing.testng.TestNGOptions.parallel don't use symmetrical @Nullable
    Accessors for org.gradle.caching.http.HttpBuildCache.url don't use symmetrical @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    /gradle/api/tasks/testing/junit/JUnitOptions.html[JUnitOptions], link:{javadocPath}/org/gradle/api/tasks/testing/junitplatform/JUnitPlatformOptions.html[JUnitPlatformOptions] and link:{javadocPath}/org/gradle/api/tasks/testing/testng/TestNGOptions.html[TestNGOptions]. We cover a significant number of them in the rest of the chapter.
    
    If you want to set up your own `Test` task with its own set of test classes, then the easiest approach is to create your own source set and `Test` task instance,...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/jvm/jvm_test_suite_plugin.adoc

    <3> Configure more detailed test framework options.  The `options` will be a subclass of `org.gradle.api.tasks.testing.TestFrameworkOptions`, in this case it is `org.gradle.api.tasks.testing.testng.TestNGOptions`.
    
    
    == Configure dependencies of a test suite
    ====
    include::sample[dir="snippets/testing/test-suite-configure-suite-dependencies/kotlin",files="build.gradle.kts[tags=configure-suite-dependencies]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 14:47:11 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.api.tasks.testing.testng.TestNGOptions.getSuiteXmlBuilder()> has arguments/return type groovy.xml.MarkupBuilder that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (TestNGOptions.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top