packages feed

tmp-proc-rabbitmq-0.7.2.3: tmp-proc-rabbitmq.cabal

cabal-version:      3.0
name:               tmp-proc-rabbitmq
version:            0.7.2.3
synopsis:           Launch RabbitMQ in docker using tmp-proc
description:
  Demos how to use tmp-proc to run RabbitMQ in docker in a unittest.

license:            BSD-3-Clause
license-file:       LICENSE
copyright:          2021 Tim Emiola
author:             Tim Emiola
maintainer:         adetokunbo@users.noreply.github.com
category:           testing, docker
bug-reports:        https://github.com/adetokunbo/tmp-proc/issues
build-type:         Simple
extra-source-files:
  ChangeLog.md
  README.md
tested-with:        GHC ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.5

source-repository head
  type:     git
  location: https://github.com/adetokunbo/tmp-proc.git
  subdir:   tmp-proc-rabbitmq

library
  exposed-modules:  System.TmpProc.Docker.RabbitMQ
  hs-source-dirs:   src
  build-depends:
    , amqp        >=0.24 && < 0.26
    , base        >=4.11     && <5
    , bytestring  >=0.10.8.2 && <0.12.2
    , text        >=1.2.3 && <2.2
    , tmp-proc    >=0.5.3 && <0.8

  default-language: Haskell2010
  ghc-options:      -fno-ignore-asserts -Wall

test-suite integration-test
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs
  other-modules:    Test.TmpProc.Docker.RabbitMQSpec
  hs-source-dirs:   test
  build-depends:
    , amqp
    , base
    , bytestring
    , hspec
    , hspec-tmp-proc
    , text
    , tmp-proc
    , tmp-proc-rabbitmq

  default-language: Haskell2010
  ghc-options:
    -threaded -rtsopts -with-rtsopts=-N -fno-ignore-asserts -Wall