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.11 && <5), bytestring (>=0.10.8.2 && <0.12.1), connection, data-default, hspec, http-client, http-client-tls, http-types, mtl (>=2.2 && <2.3 || >=2.3.1 && <2.4), network (>=2.6.3.6 && <3.2), process (>=1.6.3.0 && <1.7), req, text (>=1.2.3 && <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.8.4, ghc ==8.10.5, ghc ==8.10.7, ghc ==9.2.2
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
Uploaded by adetokunbo at 2023-07-15T13:39:05Z
Distributions LTSHaskell:0.5.3.0, NixOS:0.5.3.0, Stackage:0.7.2.1
Reverse Dependencies 6 direct, 0 indirect [details]
Executables readme
Downloads 1199 total (128 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-07-15 [all 1 reports]