~/talk

Painless Testing of Event-Driven Architecture

links:none on file
slides:none on file

Shows concrete fixes: handler spies that resolve waits immediately, automatic transparent state reset for queues, dependency-injection patterns to start only needed consumers, and enforced validation schemas. Implements these in Node.js/TypeScript and in a message-queue-toolkit used at Lokalise. Tests become reliable and much faster — one consumer boots in ~40ms versus ~600ms for 20 — and the toolkit demonstrably reduces flakiness and boilerplate in live code examples.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Message Q Toolkit overview
  3. 2:29Talk structure
  4. 3:54Asynchronous testing challenges
  5. 4:56Unpredictable state in queues
  6. 7:47Unreliable awaits in tests
  7. 15:12Type safety in event systems
  8. 18:44Slow tests from bootstrapping
  9. 24:25Consumer instantiation complexity
  10. 26:51Message Q Toolkit evolution
  11. 28:59Transparent deletion demo
  12. 31:06Event definition demo
  13. 32:09Q&A
~/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.