~/talk

Testing RxJs observables effectively

Talkat EnterpriseNG 2021 · 2021-12-02..12-03· [angular, testing]
slides:none on file

Shows a concrete replacement for marble testing and demonstrates actual tools and code: using autospies to stub input observables, wiring fake values with next, and capturing outputs with observer spy (notably subscribe spy 2 and auto unsubscribe). Claims tests become flatter, avoid timing-frames, and stop asserting implementation details; shows refactoring marble tests into readable spec code, how multiple emissions are asserted, and that auto-unsubscribe prevents leaks.

AI-written summary · about

  1. 0:00Introduction
  2. 3:53The problem with marbles
  3. 7:52Testing structure & auto-spies
  4. 11:53Verifying observable outputs
  5. 19:39Using observer spy
  6. 24:03Summary & conclusion
~/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.