Venturing Into the world of RxSwift unit testing
summary
Compares concrete RxSwift testing techniques by building a simple MVVM sign in app wired to a SignInAPI protocol and a fake network, then feeding fake input observables and asserting output streams; demonstrates use of publish and replay subjects, toBlocking (cannot handle nonterminating sequences) with its thread blocking tradeoff, TestScheduler and marble tests for virtual-time precision, and Quick/Nimble for expectations, concluding each method works but trades readability, setup boilerplate, and timing fidelity.
AI-written summary · about
chapters (6)
related talks
31mTesting SwiftUI and Combine: The State of the Art
16mIntroduction to Marble Testing Rx (Web, iOS, Android)
26mTesting the Tricky Stuff
35mThe real face of functional testing
27mTesting RxJs observables effectively
38mTesting and Declarative UI's
36mTesting Asynchronous Code in Swift 5.5
36mTesting: how hard can it be?
