Docs: add randomizedtesting-runner to testing-framework.asciidoc

Close #8450
This commit is contained in:
Jun Ohtani 2014-12-07 01:24:53 +09:00
parent 00275ac1d6
commit d78d2ff93d
1 changed files with 8 additions and 1 deletions

View File

@ -23,6 +23,12 @@ First, you need to include the testing dependency in your project. If you use ma
[[source,xml]] [[source,xml]]
-------------------------------------------------- --------------------------------------------------
<dependencies> <dependencies>
<dependency>
<groupId>com.carrotsearch.randomizedtesting</groupId>
<artifactId>randomizedtesting-runner</artifactId>
<version>${randomizedtesting-runner.version}</version>
<scope>test</scope>
</dependency>
<dependency> <dependency>
<groupId>org.apache.lucene</groupId> <groupId>org.apache.lucene</groupId>
<artifactId>lucene-test-framework</artifactId> <artifactId>lucene-test-framework</artifactId>
@ -46,6 +52,7 @@ 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. 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.