@hackage / tmp-proc-redis

Launch Redis in docker using tmp-proc

Latest0.7.3.0

About

Metadata

  • Last updated , by adetokunbo
  • License BSD-3-Clause
  • Maintained by: adetokunbo@users.noreply.github.com

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.4.5
  2. 9.2.8
  3. 9.0.2
  4. 8.10.7

Readme

tmp-proc-redis

Hackage BSD-3.0 license

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