packages feed

acolyte-test-0.1.0.1: acolyte-test.cabal

cabal-version:   3.12
name:            acolyte-test
version:         0.1.0.1
synopsis:        Testing utilities for acolyte APIs
category:        Web, Testing
description:
  Test helpers for APIs built with acolyte. Direct dispatch
  (no network), response assertions, and warp-based integration testing.

license:         BSD-3-Clause
license-file:    LICENSE
author:          Josh Burgess
maintainer:      Josh Burgess <joshburgess.webdev@gmail.com>
homepage:        https://github.com/joshburgess/acolyte
bug-reports:     https://github.com/joshburgess/acolyte/issues
build-type:      Simple

extra-doc-files:
  CHANGELOG.md

library
  exposed-modules:
    Acolyte.Test
    Acolyte.Test.Grpc
    Acolyte.Test.Property

  build-depends:
      base                       >= 4.20 && < 5
    , acolyte-core               >= 0.1  && < 0.2
    , acolyte-server             >= 0.1  && < 0.2
    , spire                      >= 0.1  && < 0.2
    , spire-grpc                 >= 0.1  && < 0.2
    , http-core                  >= 0.1  && < 0.2
    , aeson                      >= 2.1  && < 2.3
    , bytestring                 >= 0.11 && < 0.13
    , text                       >= 2.0  && < 2.2
    , http-types                 >= 0.12 && < 0.13
    , QuickCheck                 >= 2.14 && < 2.17

  hs-source-dirs: src
  default-language: GHC2024
  default-extensions:
    DataKinds
    TypeFamilies
    TypeOperators
    OverloadedStrings
    AllowAmbiguousTypes
    ScopedTypeVariables
    StrictData

  ghc-options: -Wall -funbox-strict-fields

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs: test
  default-language: GHC2024
  default-extensions:
    DataKinds
    TypeFamilies
    TypeOperators
    OverloadedStrings
    AllowAmbiguousTypes
    ScopedTypeVariables
    StrictData

  ghc-options: -Wall -rtsopts "-with-rtsopts=-K1K"

  build-depends:
      base                       >= 4.20 && < 5
    , acolyte-test               >= 0.1  && < 0.2
    , acolyte-core               >= 0.1  && < 0.2
    , acolyte-server             >= 0.1  && < 0.2
    , acolyte-openapi            >= 0.1  && < 0.2
    , acolyte-grpc               >= 0.1  && < 0.2
    , spire                      >= 0.1  && < 0.2
    , spire-grpc                 >= 0.1  && < 0.2
    , spire-server               >= 0.1  && < 0.2
    , http-core                  >= 0.1  && < 0.2
    , aeson                      >= 2.1  && < 2.3
    , bytestring                 >= 0.11 && < 0.13
    , text                       >= 2.0  && < 2.2
    , http-types                 >= 0.12 && < 0.13

source-repository head
  type:     git
  location: https://github.com/joshburgess/acolyte.git