~/talk

Testing Android Apps Based on Dagger and RxJava

TalkinItalianat Droidcon Italy 2017 · 2017-04-06..04-07· [testing]
slides:none on file

Shows how to test an Android app built with Dagger, Retrofit and RxJava by running most tests on the JVM and minimizing boilerplate. Concrete examples include JVM unit tests that replace Dagger modules, Espresso UI tests that swap components, and use of the DaggerMock rule to create test modules; tests use Mockito, Espresso, and custom RxJava scheduler rules to make asynchronous Single/flatMap behavior deterministic and verify UI and presenter interactions reliably.

AI-written summary · about

  1. 0:00Introduction
  2. 1:43Demo app architecture
  3. 4:40Testing Dagger & RxJava
  4. 8:01Unit tests with Mockito & Espresso
  5. 15:03RxJava schedulers in tests
  6. 22:18Presenter-interactor tests
  7. 26:19Testing RxJava operators
  8. 31:34Advanced testing with TrampolineScheduler
  9. 34:22Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.