packages feed

property-matchers-0.4.0.0: property-matchers.cabal

cabal-version: 2.4

name: property-matchers
version: 0.4.0.0
synopsis: A library for tests, based on transforming and writing properties
description:
  This package provides ways to write properties for testing such that they compose nicely and are easy to debug.
license: BSD-3-Clause
license-file: LICENSE
author: Edmund Noble
maintainer: edmundnoble@gmail.com
category: Data
extra-doc-files: CHANGELOG.md
source-repository head
  type: git
  location: https://gitlab.com/edmundnoble/property-matchers

library
  exposed-modules: PropertyMatchers
  ghc-options: -Wall -Wno-missing-signatures -Wmissing-exported-signatures
  build-depends:
    base >=4.8 && <4.30
   ,adjunctions >= 4.4.2 && < 5
   ,deepseq >= 1.4.8 && < 2
   ,recover-rtti >= 0.3 && < 0.6
   ,pretty-simple >= 1.1 && < 4.2
   ,prettyprinter >= 1.6 && < 2.0
   ,semialign >= 1 && < 2
   ,text >= 1.0 && < 2.2
   ,these >= 1 && < 2
  if !impl(ghc >= 8.0)
    build-depends:
      semigroups >= 0.8.4 && < 1
  hs-source-dirs: src
  default-language: Haskell2010

test-suite property-matchers-tests
  type: exitcode-stdio-1.0

  hs-source-dirs: test/
  main-is: Spec.hs

  build-tool-depends: hspec-discover:hspec-discover
  build-depends:
    base
   ,adjunctions
   ,deepseq
   ,recover-rtti
   ,pretty-simple
   ,prettyprinter
   ,text
   ,lens

   ,hspec >= 2.11 && < 3
   ,smallcheck
   ,property-matchers

  other-modules: PropertyMatchersSpec
  default-language: Haskell2010