packages feed

chell-0.5.0.2: chell.cabal

cabal-version: 3.0

name: chell
version: 0.5.0.2

synopsis: A simple and intuitive library for automated testing.
category: Testing

license: MIT
license-file: license.txt
author: John Millikin <john@john-millikin.com>
maintainer: Chris Martin, Julie Moronuki

homepage: https://github.com/typeclasses/chell

description:
    Chell is a simple and intuitive library for automated testing.
    It natively supports assertion-based testing, and can use companion libraries
    such as @chell-quickcheck@ to support more complex testing strategies.

extra-source-files: *.md

flag color-output
    description: Enable colored output in test results
    default: True

library
    default-language: GHC2021
    ghc-options: -Wall

    build-depends:
      , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18
      , bytestring ^>= 0.11.4 || ^>= 0.12
      , options ^>= 1.2.1
      , patience ^>= 0.3
      , random ^>= 1.2.1
      , template-haskell ^>=2.18 || ^>= 2.19 || ^>= 2.20
      , text ^>= 1.2.5 || ^>= 2.0
      , transformers ^>= 0.5.6 || ^>= 0.6

    if flag(color-output)
      build-depends:
        , ansi-terminal ^>= 1.0

    exposed-modules:
        Test.Chell

    other-modules:
        Test.Chell.Main
        Test.Chell.Output
        Test.Chell.Types