File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -472,6 +472,15 @@ You can run a group of YAML test by using wildcards:
472
472
--tests "org.elasticsearch.test.rest.ClientYamlTestSuiteIT.test {yaml=index/*/*}"
473
473
---------------------------------------------------------------------------
474
474
475
+ or
476
+
477
+ ---------------------------------------------------------------------------
478
+ ./gradlew :rest-api-spec:yamlRestTest \
479
+ --tests org.elasticsearch.test.rest.ClientYamlTestSuiteIT -Dtests.method="test {yaml=cat.segments/10_basic/*}"
480
+ ---------------------------------------------------------------------------
481
+
482
+ The latter method is preferable when the YAML suite name contains `.` (period).
483
+
475
484
Note that if the selected test via the `--tests` filter is not a valid test, i.e., the YAML test
476
485
runner is not able to parse and load it, you might get an error message indicating that the test
477
486
was not found. In such cases, running the whole suite without using the `--tests` could show more
You can’t perform that action at this time.
0 commit comments