Embedded elastic search for unit tests or functional tests


(Mohit Anchlia) #1

Is there a way to run elastic search engine embedded in the code so
that I can write functional tests?


(David Pilato) #2

Here is an example : https://github.com/dadoonet/rssriver/blob/master/src/test/java/org/elasticsearch/river/rss/RssRiverTest.java

Just Start a node in java...

David :wink:

Le 27 sept. 2011 à 06:36, Mohit Anchlia mohitanchlia@gmail.com a écrit :

Is there a way to run elastic search engine embedded in the code so
that I can write functional tests?


(system) #3