$30 off During Our Annual Pro Sale. View Details »
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
510
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
780
Non-technical ways to be a better developer
icanzilb
1
390
What's in it after the Indiepocalypse is over?
icanzilb
1
2.8k
Easy Animation at Cocoaheads Copenhagen
icanzilb
3
280
Animations with Auto Layout
icanzilb
1
170
SpriteKit with Swift workshop
icanzilb
1
1k
Other Decks in Programming
See All in Programming
tparseでgo testの出力を見やすくする
utgwkk
1
190
認証・認可の基本を学ぼう後編
kouyuume
0
180
ソフトウェア設計の課題・原則・実践技法
masuda220
PRO
26
22k
AIコーディングエージェント(NotebookLM)
kondai24
0
170
これだけで丸わかり!LangChain v1.0 アップデートまとめ
os1ma
6
1.7k
WebRTC、 綺麗に見るか滑らかに見るか
sublimer
1
160
S3 VectorsとStrands Agentsを利用したAgentic RAGシステムの構築
tosuri13
6
300
配送計画の均等化機能を提供する取り組みについて(⽩⾦鉱業 Meetup Vol.21@六本⽊(数理最適化編))
izu_nori
0
140
宅宅自以為的浪漫:跟 AI 一起為自己辦的研討會寫一個售票系統
eddie
0
490
ゲームの物理 剛体編
fadis
0
320
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
120
Microservices rules: What good looks like
cer
PRO
0
1.1k
Featured
See All Featured
How GitHub (no longer) Works
holman
316
140k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Embracing the Ebb and Flow
colly
88
4.9k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Git: the NoSQL Database
bkeepers
PRO
432
66k
The Cost Of JavaScript in 2023
addyosmani
55
9.3k
For a Future-Friendly Web
brad_frost
180
10k
Producing Creativity
orderedlist
PRO
348
40k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
RailsConf 2023
tenderlove
30
1.3k
Statistics for Hackers
jakevdp
799
230k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
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