packages feed

testing-feat-1.1.1.0: testing-feat.cabal

Name:                testing-feat
Version:             1.1.1.0
Synopsis:            Functional Enumeration of Algebraic Types
Description:         Feat (Functional Enumeration of Algebraic Types) provides
                     enumerations as functions from natural numbers to values
                     (similar to @toEnum@ but for any algebraic data type). This
                     can be used for SmallCheck-style systematic testing,
                     QuickCheck style random testing, and hybrids of the two.
                     .
                     The enumerators are defined in a very boilerplate manner
                     and there is a Template Haskell script for deriving the
                     class instance for most types.
                     "Test.Feat" contain a subset of the other modules that
                     should be sufficient for most test usage. There
                     are some small and large example in the tar
                     ball.
                     .
                     The generators are provided by the size-based package. This means other libraries that implement the Sized class can use the same generator definitions. One such is the
                     <https://hackage.haskell.org/package/lazy-search lazy-search package>, that uses laziness to search for values and test properties. This is typically a lot faster than Feat for properties that have preconditions (logical implication), but can not be used for random selection of values.

License:             BSD3
License-file:        LICENSE
Author:              Jonas Duregård
Maintainer:          byorgey@gmail.com
Homepage:            https://github.com/size-based/testing-feat
Copyright:           Jonas Duregård
Category:            Testing
Build-type:          Simple
Extra-source-files:
    examples/template-haskell/th.hs
    examples/haskell-src-exts/hse.hs
    examples/lambda-terms/lambdas.hs
    CHANGELOG.md
Cabal-version:       >=1.10
tested-with:         GHC ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.2

source-repository head
  type:     git
  location: https://github.com/size-based/testing-feat

Library
  default-language:     Haskell2010
  Hs-source-dirs:       .
  Exposed-modules:
    Test.Feat,
    Test.Feat.Finite,
    Test.Feat.Enumerate,
    Test.Feat.Access
    Test.Feat.Driver

    -- Compatibility
    Test.Feat.Modifiers
    Test.Feat.Class

  Build-depends:
    base >= 4.5 && < 5,
    QuickCheck > 2 && < 3,
    size-based < 0.2,
    testing-type-modifiers < 0.2