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
550
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Testing RxRealm with RxBlocking
Realm + RxSwift testing with RxBlocking
Marin Todorov
December 06, 2017
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
810
Non-technical ways to be a better developer
icanzilb
1
430
What's in it after the Indiepocalypse is over?
icanzilb
1
2.8k
Easy Animation at Cocoaheads Copenhagen
icanzilb
3
310
Animations with Auto Layout
icanzilb
1
190
SpriteKit with Swift workshop
icanzilb
1
1.1k
Other Decks in Programming
See All in Programming
「人を評価する AI」の設計と実装
ryoyanara
0
220
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
19k
Android CLI
fornewid
0
230
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
180
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.4k
Cloudflare is Agents
chimame
0
170
AIと壁打ちしながら進めるコスト管理
fufuhu
1
1.2k
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
170
いまどきの Codex で開発する visionOS アプリの開発スタイルについて
karad
0
150
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
0
190
freeeにおけるEvalsの実践例の紹介
freee
PRO
0
130
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
110
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
141
7.6k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
490
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
260
Darren the Foodie - Storyboard
khoart
PRO
3
3.7k
Automating Front-end Workflow
addyosmani
1369
210k
Are puppies a ranking factor?
jonoalderson
2
3.8k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Music & Morning Musume
bryan
47
7.3k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.1k
Being A Developer After 40
akosma
91
590k
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