> Tests exercise a real Redis server rather than a mock, so the command behavior a test depends on is the behavior it will meet in production.
No, they don’t. They exercise an alternative in-process implementation that is supposed to behave like a real Redis, but will not.
> In production Encore provisions a real, managed Redis, because the embedded server is a development fixture and is not built to scale.
Ah! So you do see how it does not behave identically to a real Redis.
This sounds like a terrible idea. Now they’re stuck forever maintaining an alternative Redis implementation, and it isn’t even useful in production.