~/talk

The Properties of Property Testing with Hedgehog

Talkat LambdaConf 2018 · 2018-06-03..06-05· [testing]
links:none on file
slides:none on file

Compares Hedgehog and QuickCheck using Hedgehog as the reference, claiming Hedgehog’s automatic shrinking (a rose-tree of generated values) finds minimal counterexamples while QuickCheck leaves shrinking as a neglected Arbitrary responsibility; explains why the Arbitrary typeclass was dropped, how generators carry an explicit size and seed for reproducible failures, why randomly generated functions fail in practice, and recounts porting work (Hedgehog checkers) that reuses quadratic-function hacks instead of maps and that manual shrinking is still available.

AI-written summary · about

  1. 0:00Intro
  2. 3:20Properties of Property Testing
  3. 11:07Arbitrary Type
  4. 15:36Humphreys Reverse
  5. 17:16List Reverse
  6. 19:31Size
  7. 21:26Generator
  8. 22:51Limitations
  9. 25:46Automatic Trinket
  10. 26:13Hedgehog
  11. 32:56Implementation correctness
  12. 34:03Hedgehog checkers
  13. 35:15Hedgehog checkers strengths
  14. 36:02Hedgehog quickcheck
  15. 36:41Linear tree
  16. 37:35Bigger values
  17. 38:13Big trees
  18. 38:52enum bounded tree
  19. 39:16unum type
  20. 39:49enumerate
  21. 40:24random value generation
  22. 43:04manual shrink
  23. 44:27Questions
  24. 44:55conceit
  25. 45:46quickcheck
  26. 46:51wrap up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.