~/talk

Overview of androidx.test

Talkat droidcon Americas 2020 · 2020-11-16..11-17· [testing, android]
links:none on file
slides:none on file

Overview of AndroidX Test tools and tradeoffs: Android Test Orchestrator runs each test in a fresh process and clears app data between methods (avoids cross-test state, slower), AndroidJUnitRunner is an Instrumentation subclass that runs tests on a separate instrumentation thread and exposes target/context and runtime flags, Robolectric executes Android framework on the JVM (downloads matching SDK, requires JDK9+, fragile on AGP/SDK upgrades), Espresso handles main-thread synchronization, and AndroidX Truth gives much clearer assertion failures than raw JUnit.

AI-written summary · about

  1. 0:00Introduction to AndroidX Test
  2. 1:37JVM vs Android tests
  3. 10:44Robolectric deep dive
  4. 13:12Instrumentation tests explained
  5. 26:15Espresso and UI testing
  6. 33:38Android Test Orchestrator
  7. 38:31Assertion libraries and error messages
  8. 41:08Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.