packages feed

quickcheck-property-monad-0.2.4: quickcheck-property-monad.cabal

name: quickcheck-property-monad
version: 0.2.4
cabal-version: >=1.10
build-type: Custom
license: BSD3
license-file: LICENSE
copyright: Copyright (C) 2013-2015 Benno Fünfstück
maintainer: Benno Fünfstück <benno.fuenfstueck@gmail.com>
stability: experimental
homepage: http://github.com/bennofs/quickcheck-property-monad/
bug-reports: http://github.com/bennofs/quickcheck-property-monad/issues
synopsis: A monad for generating QuickCheck properties without Arbitrary instances.
description:
    When your data has many invariants, it's often difficult to write Arbitrary
    instances for QuickCheck. This library attempts to solve that
    problem by providing a nice interface to write QuickCheck tests without using
    Arbitrary instances. It aims to be somewhere in the middle between
    HUnit and QuickCheck: Use the random test case generation of QuickCheck, but write
    HUnit like assertions.
category: Testing
author: Benno Fünfstück
extra-source-files:
    .ghci
    .gitignore
    .travis.yml
    .vim.custom
    README.md

source-repository head
    type: git
    location: https://github.com/bennofs/quickcheck-property-monad.git

flag tests
    description:
        Run tests (requires QuickCheck >= 2.7)

library
    exposed-modules:
        Test.QuickCheck.Property.Monad
    build-depends:
        base >=4.5 && <4.9,
        either >=4.1.1 && <4.5,
        transformers >=0.3.0.0 && <0.5,
        QuickCheck >=2.5.1.1 && <2.9
    default-language: Haskell2010
    hs-source-dirs: src
    ghc-options: -Wall

test-suite doctests
    if flag(tests)
        build-depends:
            QuickCheck >=2.7 && <2.9
    type: exitcode-stdio-1.0
    main-is: doctests.hs
    buildable: False
    build-depends:
        base >=4.5 && <4.9,
        directory >=1.1.0.2 && <1.3,
        doctest >=0.9.11 && <0.11,
        filepath >=1.3.0.0 && <1.5
    default-language: Haskell2010
    hs-source-dirs: tests
    ghc-options: -Wall -threaded