Skip to content

Commit 474032f

Browse files
committed
Docs: add randomizedtesting-runner to testing-framework.asciidoc
Close elastic#8450
1 parent 2df8904 commit 474032f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/reference/testing/testing-framework.asciidoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ First, you need to include the testing dependency in your project. If you use ma
2323
[[source,xml]]
2424
--------------------------------------------------
2525
<dependencies>
26+
<dependency>
27+
<groupId>com.carrotsearch.randomizedtesting</groupId>
28+
<artifactId>randomizedtesting-runner</artifactId>
29+
<version>${randomizedtesting-runner.version}</version>
30+
<scope>test</scope>
31+
</dependency>
2632
<dependency>
2733
<groupId>org.apache.lucene</groupId>
2834
<artifactId>lucene-test-framework</artifactId>
@@ -45,7 +51,8 @@ First, you need to include the testing dependency in your project. If you use ma
4551
</dependencies>
4652
--------------------------------------------------
4753

48-
Replace the elasticsearch version and the lucene versions with the current elasticsearch version and its accompanying lucene release.
54+
Replace the elasticsearch version and the lucene versions with the current elasticsearch version and its accompanying lucene release.
55+
And replace the "randomizedtesting version" with the version that the current elasticsearch uses.
4956

5057
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.
5158

0 commit comments

Comments
 (0)