~/talk

Snapshot testing (and more!) with Paparazzi

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

Paparazzi speeds Android UI feedback from minutes to seconds by running Android UI on the JVM using layoutlib’s JNI bridge and a JUnit rule that captures pixel snapshots. It provides record/verify golden images, Compose and legacy XML support, and a Gradle plugin that extracts merged resources so CI can compare images. Adopted at Block, Twitter, Dropbox and parts of Google, it works well but currently limits tests to library modules (application modules need a workaround); v1.1.1 adds RTL and Wear support.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:11What is Paparazzi
  3. 5:25How Paparazzi works
  4. 10:23Behind the scenes of layout lib
  5. 17:27Resource handling in Paparazzi
  6. 23:06Native components and deployment
  7. 26:39Accessibility support
  8. 28:22Debugging and extending Paparazzi
  9. 30:31Future plans for Paparazzi
  10. 34:45Beyond snapshot testing
~/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.