@hackage tmp-proc-redis0.5.0.0

Shows how to run redis as a tmp proc

tmp-proc-redis

tmp-proc-redis provides an example of using tmp-proc to launch dockerized Redis in integration tests.

It provides an instance of Proc for launching the Redis database docker image, but also allows

  • configuration of simple reset behaviour to be enabled in tests
  • an instance of Conn that simplifies opening connections to the database from tests that use tmp-proc