redislite icon indicating copy to clipboard operation
redislite copied to clipboard

Do you plan to release a redislite for Redis 7?

Open steve-mavens opened this issue 2 years ago • 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 :-)

steve-mavens avatar Apr 12 '23 13:04 steve-mavens

fakeredis supports redis7

cunla avatar Apr 25 '23 14:04 cunla

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.

steve-mavens avatar Jun 08 '23 08:06 steve-mavens