Mock Couchbase for test


I’m looking for a mock Couchbase server which supports the N1QL for the unit test. And I have tried out this one but it does not support N1QL. Does anyone have an idea on it? Thanks in advance for the response.

Hi @EdgarLGB, yes, you are right, the CouchbaseMock does not have full N1QL engine at the moment, but still it allows you to test N1QL queries like this:

I will be glad to review your pull-requests if you want to improve current implementation and add more features.

1 Like

Thanks for the information!