~/talk

Testing Made Simple

Talkat Clojure/west 2017 · 2017-03-30..03-31· [testing, clojure]
name:Tony Kay
links:none on file
slides:none on file

Practical rules for Clojure(script) testing: focus on narrow units, clear English descriptions, and isolation instead of biting the whole onion. Demonstrates a concrete union-initialization function tested by a merge-state stub with argument capture and call-count assertions so tests stay cheap and specific. Uses Untangled Spec to validate mocked contracts and shows when to use generative testing with a slow trusted implementation (sine example) to check numeric accuracy and edge cases.

AI-written summary · about

  1. 0:00Intro
  2. 0:30Testing Made Simple
  3. 3:38People Problems
  4. 7:13Onion Analogy
  5. 10:29Sine
  6. 12:08Behaviors
  7. 13:17Trusted Implementation
  8. 15:50Specificity
  9. 17:27React Based Example
  10. 20:43Stubbing
  11. 21:58Orchestration
  12. 22:44Protection
  13. 23:16Problems
  14. 23:51Potential
  15. 25:44Example
  16. 28:34Programming languages
  17. 29:30Does it work
  18. 30:29Testing and design
~/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.