~/talk

How Espresso Works

Talkat Android Summit 2017 · 2017-08-24..08-25· [android, testing]
links:none on file
slides:none on file

Explains precise mechanics: Espresso wires objects with Dagger 2, builds a ViewInteraction, then synchronizes by copying the idling registry into internal state and calling loopMainThreadUntilIdle which runs a main‑thread interrogation that even uses reflection into MessageQueue to pull and dispatch pending messages. View matching uses Hamcrest matchers and throws specific exceptions for no match or ambiguous matches; matches(isDisplayed) checks globalVisibleRect and effective visibility. Activity launches use ActivityTestRule and startActivitySync with a built‑in 45 second timeout.

AI-written summary · about

  1. 0:00Start
  2. 0:37Espresso
  3. 14:50Thread Works
  4. 17:35Resource
~/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.