Skip to content

Blog/testing without a server fakevalkey - #667

Draft
cunla wants to merge 6 commits into
valkey-io:mainfrom
cunla:blog/testing-without-a-server-fakevalkey
Draft

cunla wants to merge 6 commits into
valkey-io:mainfrom
cunla:blog/testing-without-a-server-fakevalkey

Conversation

@cunla

@cunla cunla commented Sep 14, 2026

Copy link
Copy Markdown

Description

Adds blog for testing using fakeValkey

Issues Resolved

closes #646

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@valkeyrie-ops
valkeyrie-ops Bot requested a review from a team September 14, 2026 13:40
A test double sits between the two: an implementation of the server's behavior that runs inside the test process.

I maintain [fakeredis](https://github.com/cunla/fakeredis-py), a pure-Python, in-memory implementation of the Valkey command set that plugs into [valkey-py](https://github.com/valkey-io/valkey-py) as a client class. It has 40m downloads/month (September 2026).
This post covers its `FakeValkey` class: how to use it, how it keeps pace with Valkey, where matching Valkey's behavior gets hard, how to check a Redis to Valkey migration with it, and when you should use a real server instead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tagging in @stockholmux here for how Redis™️ is supposed to be written on the site.

Comment thread content/blog/2026-09-14-testing-without-a-server-fakevalkey/index.md Outdated
@pnbrown

pnbrown commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Closes #646

Also you're missing your DCO signoffs

Signed-off-by: Daniel M <daniel@moransoftware.ca>
Signed-off-by: Daniel M <daniel@moransoftware.ca>
Signed-off-by: Daniel M <daniel@moransoftware.ca>
Signed-off-by: Daniel M <daniel@moransoftware.ca>
Signed-off-by: Daniel M <daniel@moransoftware.ca>
@cunla
cunla force-pushed the blog/testing-without-a-server-fakevalkey branch from 66b3de2 to 08cc7f1 Compare September 14, 2026 14:22
Signed-off-by: Daniel M <daniel@moransoftware.ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BLOG POST] Testing Without a Server: Inside FakeValkey, the In-Memory Test Double for Valkey

2 participants