packages feed

tasty-wai-0.1.2.0: tasty-wai.cabal

-- Initial tasty-wai.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                tasty-wai
version:             0.1.2.0
synopsis:            Test 'wai' endpoints via Test.Tasty
description:         Helper functions and runners for testing wai endpoints using the Tasty testing infrastructure.
license:             BSD3
license-file:        LICENCE
author:              QFPL @ Data61
maintainer:          sean.chalmers@data61.csiro.au

copyright:           Copyright (C) 2018 Commonwealth Scientific and Industrial Research Organisation (CSIRO)

category:            Testing,Web

build-type:          Simple
extra-source-files:  CHANGELOG.md
                   , README.md

cabal-version:       >=1.10

tested-with:         GHC == 7.10.3
                   , GHC == 8.0.2
                   , GHC == 8.2.2
                   , GHC == 8.4.4
                   , GHC == 8.6.5
                   , GHC == 8.8.3
                   , GHC == 8.10.1
                   , GHC == 9.0.1

source-repository head
    type: git
    location: https://github.com/qfpl/tasty-wai

library
  exposed-modules:     Test.Tasty.Wai

  -- other-modules:
  -- other-extensions:

  build-depends:       base >= 4.8 && < 4.17
                     , tasty >= 0.8 && < 1.5
                     , bytestring >= 0.10 && < 0.12
                     , wai == 3.2.*
                     , wai-extra >= 3 && < 3.2
                     , http-types >= 0.9 && < 0.13
                     , HUnit >= 1.6 && < 1.7

  hs-source-dirs:      src
  default-language:    Haskell2010


test-suite tests
  default-language:    Haskell2010

  type:                exitcode-stdio-1.0

  ghc-options:         -threaded

  hs-source-dirs:      test
  main-is:             Test.hs

  build-depends:       base >= 4.8 && < 4.17
                     , tasty >= 0.8 && < 1.5
                     , wai == 3.2.*
                     , http-types >= 0.9 && < 0.13
                     , tasty-wai