Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Testing RxRealm with RxBlocking
Search
Marin Todorov
December 06, 2017
Programming
0
490
Testing RxRealm with RxBlocking
Realm + RxSwift testing with RxBlocking
Marin Todorov
December 06, 2017
Tweet
Share
More Decks by Marin Todorov
See All by Marin Todorov
RxSwift on iOS
icanzilb
4
3.9k
Is RxSwift for me? @ try! Swift NYC
icanzilb
3
23k
(Appbuilders) Non-technical ways to be a better developer
icanzilb
3
760
Non-technical ways to be a better developer
icanzilb
1
370
What's in it after the Indiepocalypse is over?
icanzilb
1
2.7k
Easy Animation at Cocoaheads Copenhagen
icanzilb
3
260
Animations with Auto Layout
icanzilb
1
160
SpriteKit with Swift workshop
icanzilb
1
1k
Other Decks in Programming
See All in Programming
eBPF超入門「o11yに使える」とは (20250424_eBPF_o11y)
thousanda
1
110
オープンソースコントリビュート入門
_katsuma
0
120
Носок на сок
bo0om
0
1.2k
開発者フレンドリーで顧客も満足?Platformの秘密
algoartis
0
170
Instrumentsを使用した アプリのパフォーマンス向上方法
hinakko
0
240
Making TCPSocket.new "Happy"!
coe401_
1
3.1k
GitHub Copilot for Azureを使い倒したい
ymd65536
1
310
Global Azure 2025 @ Kansai / Hyperlight
kosmosebi
0
100
Orleans + Sekiban + SignalR でリアルタイムWeb作ってみた
tomohisa
0
230
プロダクト横断分析に役立つ、事前集計しないサマリーテーブル設計
hanon52_
3
540
Contribute to Comunities | React Tokyo Meetup #4 LT
sasagar
0
590
ぽちぽち選択するだけでOSSを読めるVSCode拡張機能
ymbigo
7
2.9k
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
Fireside Chat
paigeccino
37
3.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.9k
Six Lessons from altMBA
skipperchong
28
3.8k
Code Reviewing Like a Champion
maltzj
523
40k
A Tale of Four Properties
chriscoyier
159
23k
Writing Fast Ruby
sferik
628
61k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
410
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
Transcript
Testing RxRealm with RxBlocking RxSwift Berlin Marin Todorov
RxRealm realm.io
None
None
• Completely Asynchronous • Notifications will be bundled by Realm
• Objects can change over time Testing Realm
Test: collection emits when objects added [Message1] Realm.rx.add(...) Observer Observable<Results<Message>>
[Message1]
RxTest
RxTest
RxTest
Test: collection emits when objects added [Message1] Realm.rx.add(...) Observer Observable<Results<Message>>
[Message1]
RxBlocking
RxBlocking!
Some Numbers RxRealm test suite with RxTest: 1570 loc RxRealm
test suite with RxBlocking: 921 loc
Test: observer handles error when observable errors out
Test: collection emits when objects deleted
Test: eventually changes from all threads will emit ... add
objects on main queue, on background queque, sync on current queue, etc...
None
Test: view model emits when speaker favorited
Test: model emits when resultset changes ... ...
• EventKit - github.com/realm/EventKit • RxRealm - github.com/RxSwiftCommunity/RxRealm • RxBook
- store.raywenderlich.com/products/rxswift Marin Todorov @icanzilb Updated! RxSwift 4