Hello,
Prior to 5.0, I was using NodeClient to start an Embededded Elasticsearch node in my JUnit test cases. With that little trick, I was able to test mappings, searches and so on. I used Spring Testing library to DI in DAO classes.
With 5.0, NodeClient has gone and embedding Elasticsearch (even in test case ?) is forbidden (most classes are not accessible).
I looked at ESIntegTestCase but inheriting from this huge and complicated class just to start an Elasticsearch node worries me. I don't need all the randomized testing stuff. I wonder how it will integrate with other testing frameworks like Spring Testing?
I could start Elasticsearch outside of test cases (Maven, Jenkins...) but it will make test cases development and debugging a lot harder.
What choices do I have?