~/talk

Invariants are everything

Talkat Code Elixir LDN 2018 · on Thursday, 2018-08-16· [testing]
links:none on file
slides:none on file

Argues that property-based testing makes intent and invariants explicit and can replace many hand-crafted examples; uses Elixir with ExUnit.Properties, custom and built-in generators and the check all pattern to turn concrete Fibonacci, absolute-value and max/min stack tests into declarative properties; shows generators replace manual shuffles and lists, models (enum vs stack) validate behavior, and notes defaults run 100 examples so CI trade-offs matter; demos mostly run successfully after small fixes.

AI-written summary · about

  1. 0:00Start
  2. 10:02check the magnitude
  3. 15:30construct a test case sort of from scratch the concrete values
  4. 16:00generate a list of integers
  5. 20:32writing distinct unit test cases
  6. 31:28replace the filter with a map
  7. 37:04which parts to test with property based tests
~/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.