summaryrefslogtreecommitdiff
path: root/TESTING.asciidoc
diff options
context:
space:
mode:
authorandrejserafim <andrejserafim@gmail.com>2015-12-01 16:33:46 +0000
committerJason Tedor <jason@tedor.me>2015-12-01 12:18:44 -0500
commit9015d0ca73d8b7cfff6c839b643ab3367e411531 (patch)
treec846d818b22394d413d8d127609be92f387d2cba /TESTING.asciidoc
parentb2fb3a802c1b54f697f9e6db660f5e99b9b68df2 (diff)
Fix REST test command line instructions
Closes #15154
Diffstat (limited to 'TESTING.asciidoc')
-rw-r--r--TESTING.asciidoc13
1 files changed, 11 insertions, 2 deletions
diff --git a/TESTING.asciidoc b/TESTING.asciidoc
index da238c3437..569c16b074 100644
--- a/TESTING.asciidoc
+++ b/TESTING.asciidoc
@@ -286,11 +286,20 @@ The REST layer is tested through specific tests that are shared between all
the elasticsearch official clients and consist of YAML files that describe the
operations to be executed and the obtained results that need to be tested.
-The REST tests are run automatically when executing the maven test command. To run only the
+The REST tests are run automatically when executing the "gradle check" command. To run only the
REST tests use the following command:
---------------------------------------------------------------------------
-gradle integTest -Dtests.filter="@Rest"
+gradle :distribution:tar:integTest \
+ -Dtests.class=org.elasticsearch.test.rest.RestIT
+---------------------------------------------------------------------------
+
+A specific test case can be run with
+
+---------------------------------------------------------------------------
+gradle :distribution:tar:integTest \
+ -Dtests.class=org.elasticsearch.test.rest.RestIT \
+ -Dtests.method="test {p0=cat.shards/10_basic/Help}"
---------------------------------------------------------------------------
`RestNIT` are the executable test classes that runs all the