Testing without a server: using FakeValkey, the in-memory test double for Valkey (from Valkey Blog)
Every application that talks to Valkey has to answer the same question in its test suite: where does the server come from?
You can start a real valkey-server in continuous integration (CI), which is accurate but adds a container, a port, and startup time to every run.
You can mock the client, which is fast, but a mock only knows what you told it, so it drifts from the server without
[...]
