You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: randomizedtesting-jupiter/src/test/java/com/carrotsearch/randomizedtesting/jupiter/F999_RemovedFeatures.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,17 @@ removed or replaced by built-in functionality in junit5.
8
8
* This feature is already part of JUnit5: use `@ParameterizedClass`, `@ParameterizedTest`
9
9
or any other way to create dynamic tests that JUnit5 offers.
10
10
11
-
## Test groups
11
+
## Test groups and test filtering
12
12
13
-
* This feature is already part of JUnit5 (as `@Tag` annotations).
13
+
* This feature is already part of JUnit5 in the
14
+
form of[`@Tag` annotations](https://docs.junit.org/6.0.3/writing-tests/tagging-and-filtering.html).
14
15
16
+
* Direct use of `tests.filter` and `tests.[group-name]` properties
17
+
is not as straightforward as it was with `RandomizedRunner`. These properties
18
+
need to be converted and passed to JUnit Jupiter using your build system's
19
+
facilities: system properties alone won't have any effect. Here is
20
+
an [example for gradle](https://docs.gradle.org/current/userguide/java_testing.html#test_grouping).
21
+
15
22
## Custom test case order (`@TestCaseOrdering`)
16
23
17
24
* This feature is already part of JUnit5 (`@TestMethodOrder`). However,
0 commit comments