nalgeon / redka

Redis re-implemented with SQLite
BSD 3-Clause "New" or "Revised" License
3.24k stars 87 forks source link

compatibility tests #14

Closed jtarchie closed 2 months ago

jtarchie commented 2 months ago

Hey!

I was also building a Redis-protocol-sqlite-backed thingy from a previous project I worked on but (sort of) abandoned.

I built some tooling for the compatibility layer. Using this project, where they have many test cases for the Redis compatibility layer for sets of commands and expected output.

It helps identify what is missing, what Redis version of the command(s) was introduced, etc.

I want to make a PR to show how it could be used.

jtarchie commented 2 months ago

Within the cts.json from the PR, the since value shows the version the commands are expected to have existed.

nalgeon commented 2 months ago

Thank you for the suggestion! I'm not aiming for 100% (or even close to 100%) compatibility with Redis, so I'll pass. There may be some kind of compatibility test later, but it's definitely too early for that now.

jtarchie commented 2 months ago

Sorry, it wasn't meant for 100% compatibility. It was meant to show community resources to validate the protocol.