Is reactive code with RxJS too hard to test?
In this video, we discuss whether using RxJS and observables to create reactive code makes writing automated tests for that code harder. We look at some specific examples, and show how the observer spy library can be used to make testing observables easier.
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
Learn Angular with Ionic: https://ionicstart.com
More on TDD: https://www.youtube.com/watch?v=vzgouJbyum0
More on Component Store: https://www.youtube.com/watch?v=gYzAhW_glqc
0:00 Introduction
0:47 Observer Spy
1:40 Dumb components
2:59 Smart components
4:31 Services
5:24 NgRx Component Store
7:16 Complex stream
10:59 Ionic Start
11:34 Conclusion
#ionic #angular
- More tutorials: https://eliteionic.com
- Follow me on Twitter: https://twitter.com/joshuamorony