RLTest
Redis Modules Test Framework, allow to run tests on redis and modules on a variety of environments
What it is and what it does
RLTest is a test harness designed specifically for Redis and Redis module developers. It abstracts away environment setup—OSS single-node, OSS cluster, enterprise single-node, and enterprise cluster—so you write your test logic once and run it against all four configurations without modification. The framework handles Redis binary management, port allocation, cluster initialization, and teardown, letting you focus on test assertions rather than infrastructure.
You invoke it via a CLI with flags for module path, environment type, credentials, and logging. It integrates with pytest for test discovery and execution, uses progressbar2 for progress reporting, and psutil for resource monitoring. The framework is maintained by Redis Labs and actively developed; it targets module developers and QA teams who need to validate Redis modules across heterogeneous deployment topologies.
Use it for:
- Test a Redis module against OSS, cluster, and enterprise Redis variants in a single CI/CD pipeline run
- Validate that a module's behavior is consistent when Redis is deployed with replication, clustering, or enterprise features enabled
- Debug module failures in enterprise environments by running the same test locally against an OSS Redis instance first
- Automate regression testing of Redis modules across multiple Python versions (3.7–3.14) and deployment modes
- Set up a test environment without manually provisioning Redis binaries, ports, or cluster topology
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
RLTest is a test framework for Redis and Redis modules that lets you write tests once and run them across multiple deployment environments (OSS, OSS cluster, enterprise, enterprise cluster) without rewriting test code.
Yes, if you develop or test Redis modules or need to validate Redis behavior across multiple deployment topologies. The framework eliminates boilerplate environment setup and lets you write environment-agnostic tests. Install friction is low, maintenance is active, and the BSD license is permissive. Not necessary for simple Redis client testing or single-environment deployments.
Install
rltest on PyPI
pip
pip install rltestuv
uv add rltestpoetry
poetry add rltestInstalling RLTest
Before you install
Low friction installation with a pure Python wheel. Active maintenance—last commit 2026-07-22, released 23 days ago. Supports Python 3.7 through 3.14. Six runtime dependencies (distro, progressbar2, psutil, pytest, pytest-cov, redis) are all standard tools with minimal overhead.
License in practice
BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and acknowledge the original authors.
Quickstart
pip install rltest
rltest --help
rltest --module /path/to/module.so --env oss
Requires a Redis binary (oss-redis-path defaults to 'redis-server' on PATH) and pytest for test discovery; enterprise testing requires enterprise Redis binaries.
Verify before relying
- Whether the framework supports writing tests in languages other than Python or only Python test files
- Whether test results can be exported to standard formats (JUnit XML, etc.) for CI/CD integration
- Performance overhead or scalability limits when running against large module test suites
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.7.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — distro, progressbar2, psutil, pytest, pytest-cov, redis |
| Maintenance | actively maintained — 23 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 134,346/month — #11,480 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: rltest-0.7.28-py3-none-any.whl
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
langgraph-checkpoint-redisProvides Redis-backed checkpoint storage and…
permissive · top 5,000 on PyPI
ramp-packerBundles Redis modules into distributable…
permissive · top 15,000 on PyPI
azure-mgmt-redisenterpriseManages Azure Redis Enterprise clusters and…
unclear · top 5,000 on PyPI
redisvlRedisVL is a Python client for building AI…
permissive · top 5,000 on PyPI
redisliteRedislite embeds a self-contained Redis server…
permissive · top 15,000 on PyPI
langchain-redisIntegrates Redis with LangChain to provide…
permissive · top 15,000 on PyPI
agent-framework-redisAdds Redis-backed persistent memory and…
permissive · top 15,000 on PyPI
redlockImplements the RedLock algorithm to provide…
permissive · top 15,000 on PyPI
coredisAn async Redis client with full type hints,…
permissive · top 5,000 on PyPI