tmp-proc-redis: Shows how to run redis as a tmp proc

[ bsd3, docker, library, testing ] [ Propose Tags ]

An example of using tmp-proc to launch dockerized redis in integration tests.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.5.0.0, 0.5.0.1
Change log ChangeLog.md
Dependencies base (>=4.11 && <4.16), bytestring (>=0.10.8.2 && <0.12), hedis (>=0.10.4 && <0.16), text (>=1.2.3 && <1.3), tmp-proc (>=0.5.0.0 && <0.6.0.0) [details]
License BSD-3-Clause
Copyright 2021 Tim Emiola
Author Tim Emiola
Maintainer adetokunbo@users.noreply.github.com
Category testing, docker
Bug tracker https://github.com/adetokunbo/tmp-proc/issues
Source repo head: git clone https://github.com/adetokunbo/tmp-proc.git
Uploaded by adetokunbo at 2021-09-29T06:40:02Z
Distributions NixOS:0.5.0.1
Downloads 95 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-09-29 [all 1 reports]

Readme for tmp-proc-redis-0.5.0.1

[back to package description]

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