Alejandro Martinez

10 March, 2018VideoRxSwiftSwift🕐 1min 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 have any feedback you can reach me at alexito4

Alejandro Martinez

Buka pintu