This is the Linux app named Miniredis whose latest release can be downloaded as MEMORYUSAGE,CLIENT_SET_GET_NAME,floatfixes.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named Miniredis with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
Miniredis
DESCRIPTION
Sometimes you want to test code which uses Redis, without making it a full-blown integration test. Miniredis implements (parts of) the Redis server, to be used in unittests. It enables a simple, cheap, in-memory, Redis replacement, with a real TCP interface. It saves you from using mock code, and since the redis server lives in the test process you can query for values directly, without going through the server stack. There are no dependencies on external binaries, so you can easily integrate it in automated build processes. Since miniredis is intended to be used in unittests TTLs don't decrease automatically. You can use TTL() to get the TTL (as a time.Duration) of a key. It will return 0 when no TTL is set. Miniredis will use math/rand's global RNG for randomness unless a seed is provided by calling m.Seed(...). If a seed is provided, then miniredis will use its own RNG based on that seed.
Features
- There are no dependencies on external binaries, so you can easily integrate it in automated build processes
- String keys
- TTLs don't decrease automatically
- Miniredis will use math/rand's global RNG for randomness unless a seed is provided
- Commands which use randomness are: RANDOMKEY, SPOP, and SRANDMEMBER
- Integration tests are run against Redis 7.0.7
Programming Language
Go
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/miniredis.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.