File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -681,12 +681,15 @@ 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 integration test case that creates a cluster that
685- might have multiple nodes.
686- * **`ESRestTestCase`**: An integration tests that interacts with an external
687- cluster via the REST API. This is used for Java based REST tests.
688- * **`ESClientYamlSuiteTestCase` **: A subclass of `ESRestTestCase` used to run
689- YAML based REST tests.
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.
688+ * **`ESRestTestCase`**: An integration test that interacts with an external
689+ cluster via the REST API. This is used for Java based REST tests. This should
690+ be the first choice for writing integration tests as these tests run in a much more
691+ realistic setup.
692+ * **`ESClientYamlSuiteTestCase` **: A subclass of `ESRestTestCase` used to run YAML based REST tests.
690693
691694=== Good practices
692695
You can’t perform that action at this time.
0 commit comments