yahoo/redislite

Do you plan to release a redislite for Redis 7?

steve-mavens opened this issue · 2 comments

Or if not, are you aware of any alternatives? I could run a real redis instance and connect to it during testing, but redislite is much... lighter :-)

cunla commented

fakeredis supports redis7

Thanks. Inspired by fakredis's own tests, what I'm currently considering is to run the my tests in two modes: either with fakeredis or (less frequently) against a real redis instance.

On investigation, it turned out that one main reason our tests weren't all using fakeredis already, is that at the time they were written fakeredis didn't support Redis streams (or didn't support all features of them). That seems long in the past now :-)

(Correction: fakeredis still doesn't support all the stream commands, per https://fakeredis.readthedocs.io/en/latest/redis-commands/Redis/#stream-commands). So, our code that uses consumer groups still needs a real-ish Redis for testing.