How to mock an index?

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.

Hi @sajidb .

I use testcontainer for integrations tests. Maybe help you.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.