Skip to content

Commit 028fef1

Browse files
committed
comments
1 parent f3e7607 commit 028fef1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

TESTING.asciidoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,10 @@ There are multiple base classes for tests:
681681
directly by unit tests.
682682
* **`ESSingleNodeTestCase`**: This test case sets up a cluster that has a
683683
single node.
684-
* **`ESIntegTestCase`**: An internal integration test that starts nodes within the same JVM as the test. These tests are excellent for testing internal functionality that is not exposed via the REST API, or for verifying a certain internal state. Additionally, you can easily simulate tricky distributed setups that are difficult to do in REST tests. If you only need to start one node, use `ESSingleNodeTestCase` instead, which is a much lighter test setup.
684+
* **`ESIntegTestCase`**: An internal integration test that starts nodes within the same JVM as the test.
685+
These allow you to test functionality that is not exposed via the REST API, or for verifying a certain internal state.
686+
Additionally, you can easily simulate tricky distributed setups that are difficult to do in REST tests.
687+
If you only need to start one node, use `ESSingleNodeTestCase` instead, which is a much lighter test setup.
685688
* **`ESRestTestCase`**: This should be the first choice for writing integration tests. These tests run in a much more realistic setup, and rely on REST APIs to talk to ES.
686689
* **`ESClientYamlSuiteTestCase` **: A subclass of `ESRestTestCase` used to run YAML based REST tests.
687690

0 commit comments

Comments
 (0)