- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for includeTags (0.15 sec)
-
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/junitplatform/JUnitPlatformOptions.java
* * @see <a href="https://junit.org/junit5/docs/current/user-guide/#writing-tests-tagging-and-filtering">Tagging and Filtering</a> */ public JUnitPlatformOptions includeTags(String... includeTags) { this.includeTags.addAll(Arrays.asList(includeTags)); return this; } /** * The set of engines to exclude. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestOptionsIntegrationSpec.groovy
options { includeTags 'fast' } } testing { suites { test { useJUnitJupiter() targets.all { testTask.configure { options { includeTags 'fast', 'medium' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 12.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/junitplatform/JUnitPlatformOptionsTest.groovy
.excludeEngines("sourceExcludedCategory") .includeTags("sourceIncludedTag") .excludeTags("sourceExcludedTag") when: def target = new JUnitPlatformOptions() .includeEngines("targetIncludedCategory") .excludeEngines("targetExcludedCategory") .includeTags("targetIncludedTag") .excludeTags("targetExcludedTag")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformSpec.java
private final Set<String> excludeEngines; private final Set<String> includeTags; private final Set<String> excludeTags; private final boolean isDryRun; public JUnitPlatformSpec( TestFilterSpec filter, Set<String> includeEngines, Set<String> excludeEngines, Set<String> includeTags, Set<String> excludeTags, boolean isDryRun ) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/test/impl/DefaultTestTaskFilters.java
private final Set<String> includeTags; private final Set<String> excludeTags; private final Set<String> includeEngines; private final Set<String> excludeEngines; DefaultTestTaskFilters( Set<String> includePatterns, Set<String> commandLineIncludePatterns, Set<String> excludePatterns, Set<String> includeTags, Set<String> excludeTags,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 17 10:17:11 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/junitplatform-tagging/kotlin/build.gradle.kts
testRuntimeOnly("org.junit.platform:junit-platform-launcher") } // tag::test-tags[] tasks.withType<Test>().configureEach { useJUnitPlatform { includeTags("fast") excludeTags("slow") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 369 bytes - Viewed (0) -
platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java
} } private void addTagsFilter(LauncherDiscoveryRequestBuilder requestBuilder) { List<String> includeTags = spec.getIncludeTags(); if (!includeTags.isEmpty()) { requestBuilder.filters(includeTags(includeTags)); } List<String> excludeTags = spec.getExcludeTags(); if (!excludeTags.isEmpty()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 13.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/IntegrationTest.groovy
/** * This annotation is a marker and guarantees all integration tests are tagged. * * When we use JUnit Platform `includeTags('SomeTag')`, all spock tests are excluded: * https://github.com/spockframework/spock/issues/1288 . As a workaround, * we tag all non-spock integration tests and use `includeTags(none() | SomeTag)` to make * sure spock engine tests are executed. */ @Retention(RetentionPolicy.RUNTIME)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.4K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/Flaky.groovy
* tests annotated by this is handled by `JUnitPlatformOptions.includeTags/excludeTags`. * For JUnit 4 tests, because we run them in Vintage engine, we have to annotate the tests with `@Category(Flaky.class)` so it can be transparently
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/junitplatform-tagging/groovy/build.gradle
implementation 'org.junit.jupiter:junit-jupiter:5.7.1' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } // tag::test-tags[] tasks.withType(Test).configureEach { useJUnitPlatform { includeTags 'fast' excludeTags 'slow' } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 368 bytes - Viewed (0)