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

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

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

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.5.0.0, 0.5.0.1
Change log ChangeLog.md
Dependencies async (>=2.2.1 && <2.3), base (>=4.11 && <4.16), bytestring (>=0.10.8.2 && <0.12), connection, data-default, hspec, http-client, http-client-tls, http-types, mtl (>=2.2.2 && <2.3), network (>=2.6.3.6 && <3.2), process (>=1.6.3.0 && <1.7), req, text (>=1.2.3 && <1.3), tmp-proc, unliftio (>=0.2.7 && <0.3), wai (>=3.2.1 && <3.3), warp (>=3.2.3 && <3.4), warp-tls (>=3.2.4 && <3.4) [details]
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 2021-09-30T12:50:12Z
Distributions LTSHaskell:0.5.0.1, NixOS:0.5.0.1
Executables readme
Downloads 144 total (9 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-30 [all 1 reports]