~/talk

Mastering Screenshot Testing Libraries for Android: A Hands-On Workshop

Talkat droidcon Berlin 2023 · 2023-07-05..07-07· [testing, android]
slides:none on file

Live coding shows runnable examples (activity, RecyclerView view holder, Compose) using Shot, Dropshots, Roborazzi and Paparazzi plus Android UI Testing Utils and Android Studio Electric Eel, with an API 30 Pixel 3a emulator. Demonstrates recording vs verify flows, using pixel copy with elevation or bitmaps to preserve shadows, Roborazzi/Paparazzi for fast GVM tests, Dropshots for on-device runs, explains Android Orchestrator slowdown and CI integration, and tests a failing case with 0.15% threshold and a report showing differing pixels.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Workshop agenda
  3. 2:36What is screenshot testing
  4. 12:17On-device testing with Shot
  5. 21:02Testing view holders and composables
  6. 28:38Drop shots for composables
  7. 37:24On-device vs GVM comparison
  8. 41:36GVM testing with Roborazzi
  9. 56:20Paparazzi for view holders
  10. 1:02:29Paparazzi for composables
  11. 1:06:01Testing different configurations
  12. 1:10:32Locale and accessibility testing
  13. 1:23:05On-device vs GVM final thoughts
  14. 1:27:00Recap 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.