tmp-proc-redis: Launch Redis in docker using tmp-proc

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

Demos how to use tmp-proc to run Redis in docker in a unittest.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.5.0.0, 0.5.0.1, 0.5.1.0, 0.5.1.1, 0.5.1.2, 0.5.1.4, 0.5.3.0, 0.5.3.1, 0.6.0.0, 0.6.0.1
Change log ChangeLog.md
Dependencies base (>=4.11 && <5), bytestring (>=0.10.8.2 && <0.12.2), hedis (>=0.10.4 && <0.16), text (>=1.2.3 && <2.2), tmp-proc (>=0.5.3 && <0.7) [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(tmp-proc-redis)
Uploaded by adetokunbo at 2024-02-29T09:25:44Z
Distributions LTSHaskell:0.5.3.1, NixOS:0.5.3.1, Stackage:0.6.0.1
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 548 total (50 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-02-29 [all 1 reports]

Readme for tmp-proc-redis-0.6.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