~/talk

Composing With Confidence

Talkat droidcon London 2022 · 2022-10-27..10-28· [android]
slides:none on file

Shows how to test Jetpack Compose UIs end-to-end and component-level using concrete code: use createComposeRule or createAndroidComposeRule to render composables, find nodes with onNodeWithText/Tag, assert enabled/displayed/text and call performClick or performTextInput. Demonstrates a real button test (click flips a Boolean when enabled), inspects a rendered match card by printing the node tree to verify inline "[winner]" becomes a trophy icon, and compares pixel snapshots with Paparazzi. Recommends reusable login screen robot helpers to reduce duplicated selectors and keep flow tests readable.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:49Getting started with Compose testing
  3. 3:56Test recipe and finding components
  4. 7:04Matchers, assertions and actions
  5. 8:31Testing a simple button
  6. 10:37Testing a match card component
  7. 13:26Snapshot testing with Paparazzi
  8. 16:34Testing a login form
  9. 19:02Scalable tests with test robots
  10. 21:53Summary and resources
~/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.