hedgehog-classes: Hedgehog will eat your typeclass bugs

[ bsd3, testing ] [ Propose Tags ]

This library provides Hedgehog properties to ensure that typeclass instances adhere to the set of laws that they are supposed to. There are other libraries that do similar things, such as genvalidity-hspec and checkers. This library differs from other solutions by not introducing any new typeclasses that the user needs to learn, and otherwise minimal API overhead.

This library is directly inspired by quickcheck-classes.


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.1.1.0 (info)
Change log CHANGELOG.md
Dependencies aeson (>=0.9.0.0 && <1.5.0.0), base (>=4.12.0.0 && <4.14.0.0), containers (>=0.5.9.2 && <0.7.0.0), hedgehog (>=0.5.0.0 && <0.7.0.0), pretty-show (>=1.6.0.0 && <2.0.0.0), transformers (>=0.5.0.0 && <0.6.0.0), wl-pprint-annotated (>=0.0.0.0 && <0.2.0.0) [details]
License BSD-3-Clause
Copyright 2019 chessai
Author chessai
Maintainer chessai1996@gmail.com
Category Testing
Home page https://github.com/chessai/hedgehog-classes
Bug tracker https://github.com/chessai/hedgehog-classes/issues
Source repo head: git clone https://github.com/chessai/hedgehog-classes.git
Uploaded by chessai at Sun Feb 10 01:07:32 UTC 2019
Distributions
Downloads 41 total (41 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-02-10 [all 1 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
aeson

You can disable the use of the aeson package using -f-aeson.

This may be useful for accelerating builds in sandboxes for expert users.

EnabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hedgehog-classes-0.1.0.0

[back to package description]

hedgehog-classes

Hackage BSD3 license <!--- [![Stackage Lts](http://stackage.org/package/hedgehog-classes/badge/lts)](http://stackage.org/lts/package/hedgehog-classes)---> <!--- [![Stackage Nightly](http://stackage.org/package/hedgehog-classes/badge/nightly)](http://stackage.org/nightly/package/hedgehog-classes) --->

Hedgehog will eat your typeclass bugs