@@ -77,39 +77,24 @@ Run a single test case (variants)
77
77
./gradlew test "-Dtests.class=*.ClassName"
78
78
----------------------------------------------------------
79
79
80
- Run all tests in a package and sub-packages
80
+ Run all tests in a package and its sub-packages
81
81
82
82
----------------------------------------------------
83
83
./gradlew test "-Dtests.class=org.elasticsearch.package.*"
84
84
----------------------------------------------------
85
85
86
- Run any test methods that contain 'esi' (like: ...r*esi*ze...).
86
+ Run any test methods that contain 'esi' (like: ...r*esi*ze...)
87
87
88
88
-------------------------------
89
89
./gradlew test "-Dtests.method=*esi*"
90
90
-------------------------------
91
91
92
- You can also filter tests by certain annotations ie:
93
-
94
- * `@Nightly` - tests that only run in nightly builds (disabled by default)
95
- * `@Backwards` - backwards compatibility tests (disabled by default)
96
- * `@AwaitsFix` - tests that are waiting for a bugfix (disabled by default)
97
- * `@BadApple` - tests that are known to fail randomly (disabled by default)
98
-
99
- Those annotation names can be combined into a filter expression like:
92
+ Run all tests that are waiting for a bugfix (disabled by default)
100
93
101
94
------------------------------------------------
102
- ./gradlew test -Dtests.filter="@nightly and not @backwards"
95
+ ./gradlew test -Dtests.filter=@awaitsfix
103
96
------------------------------------------------
104
97
105
- to run all nightly test but not the ones that are backwards tests. `tests.filter` supports
106
- the boolean operators `and, or, not` and grouping ie:
107
-
108
-
109
- ---------------------------------------------------------------
110
- ./gradlew test -Dtests.filter="@nightly and not(@badapple or @backwards)"
111
- ---------------------------------------------------------------
112
-
113
98
=== Seed and repetitions.
114
99
115
100
Run with a given seed (seed is a hex-encoded long).
@@ -160,8 +145,6 @@ Test groups can be enabled or disabled (true/false).
160
145
Default value provided below in [brackets].
161
146
162
147
------------------------------------------------------------------
163
- ./gradlew test -Dtests.nightly=[false] - nightly test group (@Nightly)
164
- ./gradlew test -Dtests.weekly=[false] - weekly tests (@Weekly)
165
148
./gradlew test -Dtests.awaitsfix=[false] - known issue (@AwaitsFix)
166
149
------------------------------------------------------------------
167
150
0 commit comments