First off I'm using Scala and sbt for my application.
I'm using the elastic4s library's ElasticClient to connect to my ES instance. So basically I just need to be able to test these in my unit tests. Such as just verifying that my data actually made it into ES and things like that.
Would mocking ElasticSearch be the best way to go or is there a more efficient way of doing this? And how would I go about either of those?
Aucun commentaire:
Enregistrer un commentaire