Junit test for High level rest client query

Hello.
I want to test Elasticsearch query in java Junit.
It seems to be possible to use a test container, but the Elasticsearch documentation does not seem to provide it officially.
doc: https://www.elastic.co/guide/en/elasticsearch/reference/current/testing.html

Questions.

  1. Is it okay to use a test container for Junit test?
  2. Why is the Elasticsearch test container not officially provided?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.