How can I mock an Elastic Search index?

486 views Asked by At

I want to create an integration test in C#10 (.NET 6) that does some tests on the Elasticsearch index but I can't do it with the real data. I want to mock an index or create an index with dummy data and then test it by giving mock inputs and expecting results. The index will be for the testing purposes that's why either mocking or creating a dummy will work.

0

There are 0 answers