@hackage prop-unit0.1.2
Conveniences for using Hedgehog as a unit test runner
Installation
Dependencies (4)
- base >=4.12 && <5
- hedgehog >=1.0 && <1.3
- tasty >=1.4 && <1.5
- tasty-hedgehog >=1.1 && <1.5 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