nri-redis-0.1.0.4: An intuitive hedis wrapper library.
Safe HaskellNone
LanguageHaskell2010

Redis.Mock

Description

Redis.Mock is useful for writing tests without Redis running

Synopsis

Documentation

handler :: Expectation' Handler Source #

This functions returns a task that you can run in each test to retrieve a fresh mock handler

handlerIO :: IO Handler Source #

It's better to use handler and create a new mock handler for each test. Tests run in parallel which means that they all share the same hashmap.