~/talk

Rock-Solid UI and Instrumentation Testing

Talkat droidcon Berlin 2021 · 2021-10-20..10-22· [testing, android]
slides:none on file

A CI pipeline runs 800 UI tests under 20 minutes by parallelizing shards on Firebase Test Lab and blocking merges on failures, with per-feature tests across 150 modules and 18 modules actually containing UI checks. Stability uses Espresso plus explicit Espresso idling resources and RXIdler, avoids Thread.sleep and animations, swaps executors for LiveData, DiffUtil and OkHttp via MockWebServer, and automates shard sizing with Flank + Fladle sharding so tests are fast, repeatable and debuggable.

AI-written summary · about

  1. 0:00Introduction
  2. 1:47What is Android test
  3. 6:21Stability on real devices
  4. 8:06Asynchronous issues
  5. 11:15Espresso and idling resources
  6. 13:41Robot pattern
  7. 16:31Simplifying learning curve
  8. 19:41Thread sleep and animations
  9. 22:07Idling resources best practices
  10. 24:55Thread executors and coroutines
  11. 29:06Handling coroutines in tests
  12. 31:13LiveData and data binding
  13. 34:47ListAdapter and DiffUtil
  14. 36:51Flakiness solutions
  15. 37:12Cloud testing with Firebase
  16. 39:17Parallelizing tests with Flank
  17. 40:43Multi-module testing
  18. 42:09Pipeline and future tools
  19. 43:56Closing and library plans
~/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.