IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Unit tests
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Unit tests
editIf your test is a well isolated unit test which doesn’t need a running Elasticsearch cluster, you can use the ESTestCase
. If you are testing lucene features, use ESTestCase
and if you are testing concrete token streams, use the ESTokenStreamTestCase
class. Those specific classes execute additional checks which ensure that no resources leaks are happening, after the test has run.
Was this helpful?
Thank you for your feedback.