~/talk

Thinking in Properties

Talkat Haskell Love 2020 · 2020-07-31..08-01· [testing, software-architecture]
slides:none on file

Property-based testing uses generators, shrinking and relational patterns to catch bugs beyond example tests: she uses QuickCheck in Erlang historically and now hedgehog in Haskell, writes generators for IPs and lists, asserts encode/decode round trip and reverse(reverse xs) == xs, and composes command-sequence (state-machine) tests and metamorphic relations to validate migrations and distributed behaviors. It repeatedly finds edge cases in production (data-center migrations, Cassandra/Elasticsearch upgrades), requires build/release effort, and noticeably improves confidence when generators and invariants match real inputs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:57Welcome
  3. 1:18Outline
  4. 2:20About me
  5. 3:29Origin story
  6. 4:13Collective origin story
  7. 5:20Usage examples
  8. 7:50Propertybased testing
  9. 9:02What are propertybased tests
  10. 11:38Looping
  11. 13:58Generators
  12. 15:22Primitive Generators
  13. 16:55ipv4 and ipv6
  14. 17:47applicative
  15. 19:26sample
  16. 19:45genlist
  17. 21:31Questions
  18. 25:39Idempotency
  19. 28:00Examples
  20. 29:30Associativity
  21. 31:03Commutativity
  22. 33:18Distributivity
  23. 34:19Identity Elements
  24. 35:24Relational Laws
  25. 36:46Type Class Laws
  26. 37:43Reflections
  27. 39:06Informal Model Checking
  28. 41:24Oracle
  29. 42:41JavaScript
  30. 44:14Metamorphic Relations
  31. 45:38Mutation Testing
  32. 46:29Thinking Beyond
  33. 48:38Feedback loops
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.