@hackage prop-unit1.0.2
Conveniences for using Hedgehog as a unit test runner
Installation
Dependencies (4)
- base >=4.12 && <5
- hedgehog >=1.4 && <1.8
- tasty >=1.4 && <1.6
- tasty-hedgehog >=1.4 && <1.6 Show all…
Dependents (8)
@hackage/unimap, @hackage/dahdit-test, @hackage/looksee-trip, @hackage/mello, @hackage/daytripper, @hackage/dahdit-midi, Show all…
prop-unit
Conveniences for using Hedgehog as a unit test runner
It's a pain to share assertions between Hedgehog and HUnit. My solution is to basically turn unit tests into really simple property-based tests!
Useful environment variables:
# Turn on "debug mode" (default 0)
# Changes buffering and threading for easier debugging
PROP_UNIT_DEBUG=1
# Increase test examples (default 100)
# Only has effect on true property-based tests
PROP_UNIT_LIMIT=1000