elasticsearch/docs/reference/modules
Nik Everett 4b1c116461 Generate and run tests from the docs
Adds infrastructure so `gradle :docs:check` will extract tests from
snippets in the documentation and execute the tests. This is included
in `gradle check` so it should happen on CI and during a normal build.

By default each `// AUTOSENSE` snippet creates a unique REST test. These
tests are executed in a random order and the cluster is wiped between
each one. If multiple snippets chain together into a test you can annotate
all snippets after the first with `// TEST[continued]` to have the
generated tests for both snippets joined.

Snippets marked as `// TESTRESPONSE` are checked against the response
of the last action.

See docs/README.asciidoc for lots more.

Closes #12583. That issue is about catching bugs in the docs during build.
This catches *some* bugs in the docs during build which is a good start.
2016-05-05 13:58:03 -04:00
..
cluster Generate and run tests from the docs 2016-05-05 13:58:03 -04:00
discovery Merge branch 'master' into enhancement/remove_node_client_setting 2016-03-24 18:10:11 +01:00
indices Limit request size on transport level 2016-04-13 09:54:59 +02:00
scripting Generate and run tests from the docs 2016-05-05 13:58:03 -04:00
cluster.asciidoc Fix typos in docs. 2016-02-09 02:07:32 -08:00
discovery.asciidoc [DOCS] add azure and gce discovery plugins 2014-02-06 09:18:42 +01:00
gateway.asciidoc Docs: Refactored modules and index modules sections 2015-06-22 23:49:45 +02:00
http.asciidoc Enable HTTP compression by default with compression level 3 2016-05-03 08:53:15 +02:00
indices.asciidoc Rename caches. 2015-06-29 10:15:27 +02:00
memcached.asciidoc Fix organization rename in all files in project 2016-03-03 12:04:13 -07:00
network.asciidoc Fix: Change docs on "node client" to not use an in-memory node 2016-02-29 17:29:24 +01:00
node.asciidoc Generate and run tests from the docs 2016-05-05 13:58:03 -04:00
plugins.asciidoc Docs: Prepare plugin and integration docs for 2.0 2015-08-15 18:02:43 +02:00
scripting.asciidoc Reorganise scripting docs (#18132) 2016-05-04 18:17:10 +02:00
snapshots.asciidoc Fix a quick documentation typo. 2016-03-03 16:36:21 -07:00
threadpool.asciidoc Actually bound the generic thread pool 2016-04-25 06:47:26 -04:00
thrift.asciidoc Fix organization rename in all files in project 2016-03-03 12:04:13 -07:00
transport.asciidoc Document transport.ping_schedule 2015-09-01 13:43:17 +02:00
tribe.asciidoc Documented how tribe node clients inherit their settings 2016-03-30 20:05:44 +02:00