j2labs/brubeck — pull request #94 by msabramo (2012-11-16 18:00:13+00:00)
Title: Test with fakeredis

Here is one possible solution to the issues of running a Redis server for testing discussed in #92.

This uses a package called [fakeredis](https://github.com/jamesls/fakeredis) which mocks out Redis completely. The nice thing about this project is that the author has invested time in writing tests that verify that the behavior of fakeredis matches the behavior of a real Redis server, so the mock should be pretty faithful.

Using a mock is nice because it eliminates having to launch a Redis server (or risk inadvertently using an existing Redis server) to run the Brubeck tests.