tmp-proc: Run 'tmp' processes in integration tests

[ bsd3, docker, library, testing ] [ Propose Tags ] [ Report a vulnerability ]

tmp-proc runs services in docker containers for use in integration tests. It aims to make using these services become like accessing tmp processes, similar to how tmp file or directories are used. It aspires to provide a user-friendly API, while including useful features such as

  • launch of multiple services on docker during test setup

  • delayed test execution until the launched services are available

  • simplified use of connections to the services from a WAI server under test

  • good integration with haskell testing frameworks like hspec and tasty

Flags

Automatic Flags
NameDescriptionDefault
use-doc-tests

Include the doctests in the package tests

Disabled
build-the-readme

Allow the readme to build

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

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.3, 0.5.1.4, 0.5.2.0, 0.5.2.1, 0.5.3.0, 0.6.0.0, 0.6.0.1, 0.6.1.0, 0.6.2.0, 0.6.2.1, 0.7.0.0, 0.7.1.0, 0.7.2.0, 0.7.2.1
Change log ChangeLog.md
Dependencies async (>=2.2.1 && <2.3), base (>=4.14 && <5), bytestring (>=0.10.8 && <0.11 || >=0.11.3 && <0.13), fmt (>=0.6 && <0.7), hspec, http-client, http-types, mtl (>=2.2 && <2.3 || >=2.3.1 && <2.4), network (>=2.6.3 && <3.3), process (>=1.6.3.0 && <1.7), random (>=1.1 && <1.3), text (>=1.2.3 && <2.2), tls (>=1.7 && <2.2), tmp-proc, unliftio (>=0.2.7 && <0.3), wai (>=3.2 && <3.3), warp (>=3.3 && <3.5), warp-tls (>=3.4 && <3.5) [details]
Tested with ghc ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.6 || ==9.8.2 || ==9.10.1
License BSD-3-Clause
Copyright 2020 Tim Emiola
Author Tim Emiola
Maintainer adetokunbo@users.noreply.github.com
Category testing, docker
Home page https://github.com/adetokunbo/tmp-proc/tree/master/tmp-proc#tmp-proc
Bug tracker https://github.com/adetokunbo/tmp-proc/issues
Source repo head: git clone https://github.com/adetokunbo/tmp-proc.git(tmp-proc)
Uploaded by adetokunbo at 2024-11-11T11:36:25Z
Distributions LTSHaskell:0.7.2.1, NixOS:0.5.3.0, Stackage:0.7.2.1
Reverse Dependencies 6 direct, 0 indirect [details]
Executables readme
Downloads 1247 total (34 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-11-11 [all 1 reports]