redislite icon indicating copy to clipboard operation
redislite copied to clipboard

Support for RedisJSON

Open calthomson opened this issue 3 years ago • 1 comments

We use redislite for our unit tests. We've recently started using the RedisJSON module, which causes our unit tests to break seeing redislite does not support the RedisJSON commands:

redis.exceptions.ResponseError: unknown command `JSON.SET`, with args beginning with....

I don't seen any mention of RedisJSON in any redislite discussions, or for any other redis libraries for unit testing. Does anyone know of a good way to unit test where RedisJSON commands are involved short of mocking them manually?

calthomson avatar Sep 19 '22 18:09 calthomson

Supported in fakeredis

cunla avatar Mar 19 '23 23:03 cunla