Haskell property-testing

Open-source Haskell projects categorized as property-testing

Top 7 Haskell property-testing Projects

  • hedgehog

    Release with confidence, state-of-the-art property testing for Haskell.

  • smallcheck

    Test your Haskell code by exhaustively checking its properties

  • Project mention: Generating Well-Typed Terms that are not "Useless" [pdf] | news.ycombinator.com | 2023-10-27

    Using laziness to avoid generating parts of an expression until it's needed is a really nice idea. The LazySmallCheck package[1] took this approach, but was limited in the types of data it could produce (e.g. it couldn't generate functions). This was extended by LazySmallCheck2012[2], but that seems to be unmaintained and doesn't work with more recent GHC versions.

    (Note that these are named in reference to SmallCheck[3], which takes the approach of enumerating concrete values in order of "size"; as an alternative to the more widely-used QuickCheck[4], which generates concrete values at random, and tries to "shrink" those which trigger a failure)

    [1] https://hackage.haskell.org/package/lazysmallcheck

    [2] https://github.com/UoYCS-plasma/LazySmallCheck2012

    [3] https://hackage.haskell.org/package/smallcheck

    [4] https://hackage.haskell.org/package/QuickCheck

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • fitspec

    refine properties for testing Haskell programs

  • leancheck

    enumerative property-based testing for Haskell

  • Project mention: Help with stack ghci and LeanCheck | /r/haskell | 2023-12-11

    Hey, I am an IT student, and was given the task to install Leancheck. I managed to do that by following the instructions on: https://github.com/rudymatela/leancheck/blob/master/README.md Now it works if I do "ghci" and then "import Test.LeanCheck".

  • speculate

    Speculate laws about Haskell functions

  • hedgehog-gen

    Customizable Gen for ADT using Generics

  • leancheck-instances

    Common LeanCheck instances

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Haskell property-testing related posts


What are some of the best open-source property-testing projects in Haskell? This list will help you:

Project Stars
1 hedgehog 660
2 smallcheck 133
3 fitspec 74
4 leancheck 51
5 speculate 30
6 hedgehog-gen 1
7 leancheck-instances 1

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives