podman-test-0.1.0: podman-test.cabal
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.39.6.
--
-- see: https://github.com/sol/hpack
name: podman-test
version: 0.1.0
synopsis: Podman containers for tests, in parallel, reached through Unix sockets
description: Run the services that a test needs, such as a database or a node, in
rootless Podman containers, from any test framework. Every run of the
tests has its own containers and its own folder of Unix sockets, so test
processes run in parallel without sharing ports. A service that listens
on a Unix socket is reached directly; one that only listens on TCP is
bridged to a socket; TCP ports on the loopback interface are there when
a client needs them. Containers that a dead run left behind are removed
by the next one.
category: Testing
stability: experimental
homepage: https://github.com/jprupp/podman-test#readme
bug-reports: https://github.com/jprupp/podman-test/issues
author: JP Rupp
maintainer: jprupp@protonmail.ch
copyright: (c) 2026 JP Rupp
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/jprupp/podman-test
library
exposed-modules:
Test.Podman
Test.Podman.Command
Test.Podman.Image
Test.Podman.Run
other-modules:
Paths_podman_test
hs-source-dirs:
src
default-extensions:
DuplicateRecordFields
LambdaCase
NoFieldSelectors
OverloadedRecordDot
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
build-depends:
base >=4.18 && <5
, bytestring >=0.11 && <0.13
, containers >=0.6 && <0.8
, cryptohash-sha256 ==0.11.*
, directory ==1.3.*
, filepath >=1.4 && <1.6
, network >=3.1 && <3.3
, process ==1.6.*
, unix ==2.8.*
default-language: GHC2021
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Test.PodmanSpec
Paths_podman_test
hs-source-dirs:
test
default-extensions:
DuplicateRecordFields
LambdaCase
NoFieldSelectors
OverloadedRecordDot
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts "-with-rtsopts=-N4 -M1g"
build-tool-depends:
hspec-discover:hspec-discover
build-depends:
async
, base >=4.18 && <5
, bytestring
, directory
, filepath
, hspec >=2.10
, network
, podman-test
, process
, unix
default-language: GHC2021