packages feed

broadcast-chan-tests-0.2.1.1: broadcast-chan-tests.cabal

Name:               broadcast-chan-tests
Version:            0.2.1.1

Homepage:           https://github.com/merijn/broadcast-chan
Bug-Reports:        https://github.com/merijn/broadcast-chan/issues

Author:             Merijn Verstraaten
Maintainer:         Merijn Verstraaten <merijn@inconsistent.nl>
Copyright:          Copyright © 2014-2019 Merijn Verstraaten

License:            BSD3
License-File:       LICENSE

Category:           System
Cabal-Version:      >= 1.10
Build-Type:         Simple
Tested-With:        GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,
                    GHC == 8.8.3, GHC == 8.10.1

Extra-Source-Files: CHANGELOG.md

Synopsis:           Helpers for generating tests for broadcast-chan

Description:
    Provides helpers for implementing the streaming/concurrency tests used by
    broadcast-chan, broadcast-chan-conduit, and broadcast-chan-pipes.

Library
  Default-Language:     Haskell2010
  GHC-Options:          -Wall -O2 -fno-warn-unused-do-bind
  Exposed-Modules:      BroadcastChan.Test

  Other-Extensions:     DeriveDataTypeable
                        ScopedTypeVariables
                        Trustworthy

  Build-Depends:        base >= 4.7 && < 4.15
               ,        async >= 2.1 && < 2.3
               ,        broadcast-chan == 0.2.1.1
               ,        clock >= 0.7 && < 0.9
               ,        containers >= 0.4 && < 0.7
               ,        optparse-applicative >= 0.12 && < 0.16
               ,        paramtree >= 0.1.1 && < 0.2
               ,        stm >= 2.4 && < 2.6
               ,        tagged == 0.8.*
               ,        tasty >= 0.11 && < 1.3
               ,        tasty-golden >= 2.0 && < 2.4
               ,        tasty-hunit >= 0.9 && < 0.11
               ,        tasty-travis >= 0.2 && < 0.3
               ,        temporary >= 1.2 && < 1.4
               ,        text >= 1.0 && < 1.3

Test-Suite basic
  Default-Language:     Haskell2010
  Type:                 exitcode-stdio-1.0
  Main-Is:              Basic.hs
  GHC-Options:          -Wall -threaded -fno-warn-unused-do-bind
  Hs-Source-Dirs:       tests
  Build-Depends:        base
               ,        broadcast-chan
               ,        broadcast-chan-tests
               ,        foldl >= 1.4 && < 1.5
               ,        monad-loops >= 0.4.3 && < 0.5
               ,        random >= 1.1 && < 1.2

Test-Suite basic-unthreaded
  Default-Language:     Haskell2010
  Type:                 exitcode-stdio-1.0
  Main-Is:              Basic.hs
  GHC-Options:          -Wall -fno-warn-unused-do-bind
  Hs-Source-Dirs:       tests
  Build-Depends:        base
               ,        broadcast-chan
               ,        broadcast-chan-tests
               ,        foldl >= 1.4 && < 1.5
               ,        monad-loops >= 0.4.3 && < 0.5
               ,        random >= 1.1 && < 1.2

Test-Suite parallel-io
  Default-Language:     Haskell2010
  Type:                 exitcode-stdio-1.0
  Main-Is:              IOTest.hs
  GHC-Options:          -Wall -O2 -fno-warn-unused-do-bind
  Hs-Source-Dirs:       tests
  Build-Depends:        base
               ,        broadcast-chan
               ,        broadcast-chan-tests
               ,        containers >= 0.4 && < 0.7

Source-Repository head
  Type:     git
  Location: ssh://github.com:merijn/broadcast-chan.git