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
530
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
4k
Is RxSwift for me? @ try! Swift NYC
icanzilb
3
23k
(Appbuilders) Non-technical ways to be a better developer
icanzilb
3
790
Non-technical ways to be a better developer
icanzilb
1
400
What's in it after the Indiepocalypse is over?
icanzilb
1
2.8k
Easy Animation at Cocoaheads Copenhagen
icanzilb
3
290
Animations with Auto Layout
icanzilb
1
180
SpriteKit with Swift workshop
icanzilb
1
1k
Other Decks in Programming
See All in Programming
技術検証結果の整理と解析をAIに任せよう!
keisukeikeda
0
130
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
150
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
530
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
670
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
290
Nostalgia Meets Technology: Super Mario with TypeScript
manfredsteyer
PRO
0
100
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
8.3k
AHC061解説
shun_pi
0
410
OTP を自動で入力する裏技
megabitsenmzq
0
120
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
160
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
150
モダンOBSプラグイン開発
umireon
0
170
Featured
See All Featured
Building Adaptive Systems
keathley
44
3k
How to train your dragon (web standard)
notwaldorf
97
6.6k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
96
Unsuck your backbone
ammeep
672
58k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
Un-Boring Meetings
codingconduct
0
230
GraphQLとの向き合い方2022年版
quramy
50
14k
Code Review Best Practice
trishagee
74
20k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
320
Building an army of robots
kneath
306
46k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
100
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
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