- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for TestNGOptions (0.18 sec)
-
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) -
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) -
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) -
platforms/documentation/docs/src/snippets/testing/testng-groups/kotlin/build.gradle.kts
repositories { mavenCentral() } 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) -
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) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/Test.java
&& junitPlatformOptions.getExcludeTags().isEmpty(); } else if (TestNGOptions.class.isAssignableFrom(frameworkOptions.getClass())) { TestNGOptions testNGOptions = (TestNGOptions) frameworkOptions; return testNGOptions.getIncludeGroups().isEmpty() && testNGOptions.getExcludeGroups().isEmpty(); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 42.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/test-suite-configure-default-suite/kotlin/build.gradle.kts
// set a system property for the test JVM(s) systemProperty("some.prop", "value") options { // <3> val options = this as TestNGOptions options.preserveOrder = true } } } } } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.3K bytes - Viewed (0) -
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) -
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) -
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)