Testing RxJs observables effectively
- “Look Ma, No Marbles!”
December 2nd, 2021
If you’ve tried and failed to write tests for RxJS Observables in the past, you may think it’s too complicated or annoying and that the benefits don’t warrant the hassle. If you’re writing marble tests, you’re probably right.
In this session, I will show you better tools and strategies for testing RxJS Observables, which are much easier and more intuitive. As a result, you will increase your confidence in your code correctness and will be able to refactor parts of it with ease without feeling confused or stuck.
I will also show you how to refactor your current Marble Tests into much clearer tests and reduce confusion and increase readability.