From d78d2ff93d7b5974017b1e36a8ac3b3703794182 Mon Sep 17 00:00:00 2001 From: Jun Ohtani Date: Sun, 7 Dec 2014 01:24:53 +0900 Subject: [PATCH] Docs: add randomizedtesting-runner to testing-framework.asciidoc Close #8450 --- docs/reference/testing/testing-framework.asciidoc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/reference/testing/testing-framework.asciidoc b/docs/reference/testing/testing-framework.asciidoc index 5f3a19eff4b..187950c0056 100644 --- a/docs/reference/testing/testing-framework.asciidoc +++ b/docs/reference/testing/testing-framework.asciidoc @@ -23,6 +23,12 @@ First, you need to include the testing dependency in your project. If you use ma [[source,xml]] -------------------------------------------------- + + com.carrotsearch.randomizedtesting + randomizedtesting-runner + ${randomizedtesting-runner.version} + test + org.apache.lucene lucene-test-framework @@ -45,7 +51,8 @@ First, you need to include the testing dependency in your project. If you use ma -------------------------------------------------- -Replace the elasticsearch version and the lucene versions with the current elasticsearch version and its accompanying lucene release. +Replace the elasticsearch version and the lucene versions with the current elasticsearch version and its accompanying lucene release. +And replace the "randomizedtesting version" with the version that the current elasticsearch uses. There are already have a couple of classes, you can inherit from in your own test classes. The advantages of doing so is having already defined loggers, the whole randomized infrastructure is set up already.