Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support for RedisJSON #166

@calthomson

Description

@calthomson

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions