Skip to content

Commit

Permalink
Fix REST test documentation
Browse files Browse the repository at this point in the history
To run the tests we have to use now `*Yaml*IT` instead of `RestIT`:

```sh
gradle :distribution:integ-test-zip:integTest  -Dtests.class=org.elasticsearch.test.rest.*Yaml*IT
```
  • Loading branch information
dadoonet committed Aug 3, 2016
1 parent ef5debc commit 358ee7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TESTING.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -285,18 +285,18 @@ REST tests use the following command:

---------------------------------------------------------------------------
gradle :distribution:integ-test-zip:integTest \
-Dtests.class=org.elasticsearch.test.rest.RestIT
-Dtests.class=org.elasticsearch.test.rest.*Yaml*IT
---------------------------------------------------------------------------

A specific test case can be run with

---------------------------------------------------------------------------
gradle :distribution:integ-test-zip:integTest \
-Dtests.class=org.elasticsearch.test.rest.RestIT \
-Dtests.class=org.elasticsearch.test.rest.*Yaml*IT \
-Dtests.method="test {p0=cat.shards/10_basic/Help}"
---------------------------------------------------------------------------

`RestIT` are the executable test classes that runs all the
`*Yaml*IT` are the executable test classes that runs all the
yaml suites available within the `rest-api-spec` folder.

The REST tests support all the options provided by the randomized runner, plus the following:
Expand Down

0 comments on commit 358ee7c

Please sign in to comment.