cabal-version: 3.0
name: keiro-test-support
version: 0.14.0.0
synopsis: Shared PostgreSQL test fixtures for Keiro test suites
description:
Suite-level ephemeral-PostgreSQL fixtures shared by the Keiro test
suites. Implements the ephemeral-pg template-database pattern: one cached
server per suite, one migrated template database, and a clean cloned
database per example.
license: BSD-3-Clause
license-file: LICENSE
author: Nadeem Bitar
maintainer: nadeem@gmail.com
copyright: 2026 Nadeem Bitar
category: Testing
homepage: https://github.com/shinzui/keiro#readme
bug-reports: https://github.com/shinzui/keiro/issues
build-type: Simple
extra-doc-files: CHANGELOG.md
tested-with: GHC >=9.12 && <9.13
source-repository head
type: git
location: https://github.com/shinzui/keiro.git
common warnings
ghc-options:
-Wall -Wcompat -Widentities -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
library
import: warnings
default-language: GHC2024
default-extensions:
BlockArguments
ImportQualifiedPost
OverloadedLabels
OverloadedRecordDot
OverloadedStrings
exposed-modules: Keiro.Test.Postgres
hs-source-dirs: src
build-depends:
, aeson >=2.2 && <2.3
, base >=4.21 && <5
, containers >=0.6 && <0.8
, effectful >=2.6 && <2.7
, ephemeral-pg >=0.2 && <0.3
, hasql >=1.10 && <1.11
, hasql-pool >=1.2 && <1.5
, keiro-migrations ^>=0.14.0.0
, kiroku-store >=0.8 && <0.9
, kiroku-store-migrations ^>=0.4.0.0
, pg-migrate ^>=1.1.0.0
, stm >=2.5 && <2.6
, text >=2.1 && <2.2