# Best practices for automated tests

**URL:** <https://discuss.elastic.co/t/best-practices-for-automated-tests/320872>\
**Category:** Elasticsearch\
**Created:** [December 9, 2022, 10:13am UTC](https://discuss.elastic.co/t/best-practices-for-automated-tests/320872 "2022-12-09T10:13:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![PzYon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pzyon/32/114456_2.png) [@PzYon](https://discuss.elastic.co/u/PzYon)\
**Post date:** [December 30, 2022, 2:47pm UTC](https://discuss.elastic.co/t/best-practices-for-automated-tests/320872/4 "2022-12-30T14:47:34Z")

</div>

FYI - I just posted a follow up question here:

> [@ESSingleNodeTestCase / unit tests / official recommendations?](https://discuss.elastic.co/t/essinglenodetestcase-unit-tests-official-recommendations/322222):
>
> I asked this question regarding unit tests a couple of weeks ago: [Best practices for automated tests](https://discuss.elastic.co/t/best-practices-for-automated-tests/320872) Now I would like to come back to the ESSingleNodeTestCase-class. I managed to get it to start an elastic server with the steps mentioned at the end of this post in case anybody is interested. Now I realized that the Client provided by the ESSingleNodeTestCase is from the org.elasticsearch.client.internal-package. However the regular client that we are using with API version 8 is coming from th…

---

_[View the full topic](https://discuss.elastic.co/t/best-practices-for-automated-tests/320872)._
