Just Another Marble Monday – Unit Testing NGRX/RxJS w/Marbles
summary
Concrete instructions for testing NGRX/RxJS with marbles include using Jasmine marbles to write hot and cold observables, injecting a test scheduler via getTestScheduler to control async timing, and asserting specific delays like the 210 frame roundtrip and the 30-frame debounce behavior. Examples include effect tests for load dancers and a battle feature, handling success and thrown errors, and building an 80s dance-off in a Tour of Heroes clone that actually runs and tests end to end.
AI-written summary · about
chapters (5)
related talks
16mIntroduction to Marble Testing Rx (Web, iOS, Android)
27mTesting RxJs observables effectively
19mModern Testing Strategies for Reactive Applications
27mUnderstanding High Order Observables
44mUnit Testing Data with Marbles
45mCross-Framework Testing in MFs
25mRxJS all things!
40mUnit Testing Data with Marbles
