testing-feat: Functional Enumeration of Algebraic Types

[ bsd3, library, testing ] [ Propose Tags ]

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. Builds with haskell-platform-2012-2.0.0 and with ghc-7.6.1.

Versions 0.1, 0.2, 0.3, 0.3.0.1, 0.4, 0.4.0.1, 0.4.0.2, 0.4.0.3, 1.0.0.0, 1.0.1.0
Dependencies base (>=4.5 && <=4.9), mtl (>=1 && <3), QuickCheck (>2 && <3), tagshare (<0.1), template-haskell (>=2.5 && <2.11) [details]
License BSD-3-Clause
Copyright Jonas Duregård
Author Jonas Duregård
Maintainer jonas.duregard@gmail.com
Revised Revision 1 made by JonasDuregard at Tue Jan 20 07:39:48 UTC 2015
Category Testing
Uploaded by JonasDuregard at Tue Apr 15 08:59:08 UTC 2014
Distributions LTSHaskell:0.4.0.3, NixOS:1.0.1.0, Stackage:1.0.1.0, openSUSE:0.4.0.3
Downloads 12755 total (91 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees