RxTest and Custom Rx Extensions – Testing with Rx

Testing your code should not be cumbersome; RxSwift provides some really helpful libraries to streamline writing tests against your Rx code. You might even have fun while writing tests in RxSwift. There are two libraries in RxSwift that we will use while writing tests in RxSwift: RxTest and RxBlocking. We will cover the following topics in this chapter:

  • Testing in RxSwift
  • RxTest
  • RxBlocking

Get Reactive Programming with Swift 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.