cabal-version:       2.2
name:                cookbook-testing
version:             0.0.1
synopsis:            Common testing patterns in Servant apps
description:         This recipe includes various strategies for writing tests for Servant.
homepage:            http://docs.servant.dev/
license:             BSD-3-Clause
license-file:        ../../../servant/LICENSE
author:              Servant Contributors
maintainer:          haskell-servant-maintainers@googlegroups.com
category:            Servant
build-type:          Simple
tested-with:         GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7

executable cookbook-testing
  main-is:             Testing.lhs
  build-depends:       base == 4.*
                     , base-compat
                     , text >= 1.2
                     , aeson >= 1.2
                     , lens-aeson
                     , lens
                     , servant
                     , servant-client
                     , servant-server
                     , servant-quickcheck >= 0.0.10
                     , http-client
                     , http-types >= 0.12
                     , hspec
                     , hspec-wai
                     , QuickCheck
                     , unordered-containers
                     , warp >= 3.2
                     , wai >= 3.2
                     , wai-extra
  default-language:    Haskell2010
  ghc-options:         -Wall -pgmL markdown-unlit
  build-tool-depends:  markdown-unlit:markdown-unlit