leancheck-0.7.0: Cholesterol-free 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.
Signatures
Modules
- 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