~/talk

Become a Test Whisperer: what are your tests are telling you?

Talkat ElixirDaze 2018 · 2018-03-01..03-02· [testing]
slides:none on file

Examples name the problem and the fix: controller abstractions created with macro-driven controllers force every test through HTTP scaffolding so splitting out a service layer makes tests simpler; noisy logs get hidden by capture_log so assert the expected log instead of swallowing failures; race conditions show up as RabbitMQ duplicate messages and get fixed with a database lock or single listener; tests are diagnostic tools that reveal architectural smells when they fail or lie.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17Testing is hard
  3. 2:05What is a Whisperer
  4. 4:25Smell vs Code
  5. 4:41Start over
  6. 5:05Why do we test
  7. 8:59First example
  8. 12:44Macros
  9. 21:04Existing code
  10. 25:52Conclusion
~/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.