leancheck: Enumerative property-based testing
LeanCheck is a simple enumerative property-based testing library.
Properties are defined as Haskell functions returning a boolean value which should be true for all possible choices of argument values. LeanCheck applies enumerated argument values to these properties in search for a counterexample. Properties can be viewed as parameterized unit tests.
LeanCheck works by producing tiers of test values: a possibly infinite list of finite sublists of same-and-increasingly-sized values.
LeanCheck has lean core with only 180 lines of Haskell code.
[Skip to Readme]
Modules
[Index]
- Test
- Test.LeanCheck
- Test.LeanCheck.Basic
- Test.LeanCheck.Core
- Test.LeanCheck.Derive
- Test.LeanCheck.Error
- Test.LeanCheck.Function
- Test.LeanCheck.IO
- Test.LeanCheck.Stats
- Test.LeanCheck.Tiers
- Test.LeanCheck.Utils
- Test.LeanCheck
Downloads
- leancheck-0.7.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.3.0, 0.4.0, 0.4.1, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.6, 0.9.8, 0.9.10, 0.9.12, 1.0.0, 1.0.2 |
---|---|
Dependencies | base (>=4 && <5), template-haskell [details] |
Tested with | ghc ==8.4, ghc ==8.2, ghc ==8.0, ghc ==7.10, ghc ==7.8, ghc ==7.6, ghc ==7.4 |
License | BSD-3-Clause |
Author | Rudy Matela <rudy@matela.com.br> |
Maintainer | Rudy Matela <rudy@matela.com.br> |
Category | Testing |
Home page | https://github.com/rudymatela/leancheck#readme |
Source repo | head: git clone https://github.com/rudymatela/leancheck this: git clone https://github.com/rudymatela/leancheck(tag v0.7.3) |
Uploaded | by rudymatela at 2018-08-26T12:15:34Z |
Distributions | Arch:1.0.2, LTSHaskell:1.0.2, NixOS:1.0.2, Stackage:1.0.2 |
Reverse Dependencies | 11 direct, 33 indirect [details] |
Downloads | 20587 total (204 in the last 30 days) |
Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |