10 March 2018 0min read

Testing an RxSwift operator with TestScheduler

RxTesting makes testing a custom Rx operator an enjoyable experience. Being able to fake time simplifies a lot the develpemnt of reactive code and helps on building confidence in the code.

But is important to understand some of the aspects of RxTesting. In this video I explain with a real example when to use TestScheduler, and helping with the decision of when to use createColdObservable or createHotObservable. I also insist on the importance of testing the Subscriptions and not only Events.

Hope this helps improve your confidence in your Rx programming.

If you enjoyed this post

Continue reading