Skip to content

Commit

Permalink
Docs: add randomizedtesting-runner to testing-framework.asciidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
johtani committed Dec 6, 2014
1 parent 2df8904 commit 474032f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/reference/testing/testing-framework.asciidoc
Expand Up @@ -23,6 +23,12 @@ First, you need to include the testing dependency in your project. If you use ma
[[source,xml]]
--------------------------------------------------
<dependencies>
<dependency>
<groupId>com.carrotsearch.randomizedtesting</groupId>
<artifactId>randomizedtesting-runner</artifactId>
<version>${randomizedtesting-runner.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-test-framework</artifactId>
Expand All @@ -45,7 +51,8 @@ First, you need to include the testing dependency in your project. If you use ma
</dependencies>
--------------------------------------------------

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.

Expand Down

0 comments on commit 474032f

Please sign in to comment.