vendredi 28 septembre 2018

How can I perform unit test on my ES service?

I would like to perform unit tests on my service, that basically searches data in ES cluster using ES client. How to do this? Could anyone provide any example?

I found that I should use ESTestCase class but unfortunately documentation says literally nothing and also I cannot find any examples in the Internet - if there are examples there are rather for intergration testing in which I'm not interested about.

Aucun commentaire:

Enregistrer un commentaire