{"library":"rltest","title":"RLTest - Redis Modules Test Framework","description":"RLTest is a test framework for Redis modules, allowing developers to run tests on Redis and modules across various environments (containers, local, cloud). The current version is 0.7.25, with maintenance mode status. It is a core tool in the Redis module ecosystem, receiving occasional updates.","language":"python","status":"maintenance","last_verified":"Fri May 01","install":{"commands":["pip install rltest"],"cli":{"name":"rltest","version":"sh: 1: rltest: not found"}},"imports":["from rltest import RLTest","from rltest.env import TestEnvironment"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from rltest import RLTest, TestEnvConfig\n\n# Create environment configuration\nenv_config = TestEnvConfig(\n    module_path='/path/to/your/module.so',\n    redis_port=6379\n)\n\n# Create test instance\nrt = RLTest(env_config)\n\n# Define your test method\ndef test_my_module():\n    client = rt.env.get_redis_connection()\n    assert client.ping()\n\n# Run tests\nif __name__ == '__main__':\n    rt.run()","lang":"python","description":"Minimal RLTest usage: configure module path, create environment, define tests, run.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}