# What is the current recommendation for creating integration tests that need a cluster?

**URL:** <https://discuss.elastic.co/t/what-is-the-current-recommendation-for-creating-integration-tests-that-need-a-cluster/145406>\
**Category:** Elasticsearch\
**Created:** [August 21, 2018, 2:23pm UTC](https://discuss.elastic.co/t/what-is-the-current-recommendation-for-creating-integration-tests-that-need-a-cluster/145406 "2018-08-21T14:23:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 21, 2018, 8:52pm UTC](https://discuss.elastic.co/t/what-is-the-current-recommendation-for-creating-integration-tests-that-need-a-cluster/145406/2 "2018-08-21T20:52:38Z")

</div>

I shared some ideas about integration testing in this thread: [In memory testing with RestHighLevelClient](https://discuss.elastic.co/t/in-memory-testing-with-resthighlevelclient/106196/6)

Also this sample project shows how to use Elasticsearch Test Classes:

> **[joel-costigliola/elastic-search-test](https://github.com/joel-costigliola/elastic-search-test)**
>
> elastic-search-test - ESIntegTestCase example

---

_[View the full topic](https://discuss.elastic.co/t/what-is-the-current-recommendation-for-creating-integration-tests-that-need-a-cluster/145406)._
