~/talk

UI testing is so easy - said no developer ever

Talkat droidcon San Francisco 2017 · 2017-11-05..11-06· [android, testing]
speakerdeck:valeraz
name:Kevin Lai
links:none on file
slides:none on file

Slack proves reliable Android UI testing at scale by making tests targeted and hermetic and automating state setup. They run 555 functional UI tests, use Espresso + Mockito + Dagger + AutoValue, and replace bulky mock setup with mirror “power‑pack” classes that build model state (users, channels, messages) so tests just call addUser/addChannel. Developer survey ease of testing rises from 2.5/4. Future plan: auto-generate packs by replay API traffic captured from end-to-end suites.

AI-written summary · about

  1. 0:00Intro
  2. 0:38Why UI testing
  3. 1:21Surveys
  4. 3:08No time
  5. 4:47Google Wallet
  6. 7:22Robot IAM
  7. 8:35Espresso
  8. 10:14New API
  9. 11:02Double Espresso
  10. 12:30Android Testing Support
  11. 13:00UI Testing Presentation
  12. 13:40Android Testing Support Logo
  13. 14:01Slack Android UI Testing
  14. 16:28Inverted UI Testing Pyramid
  15. 17:17Practical Guide to UI Testing
  16. 18:20Why we are here
  17. 18:49UI tests
  18. 19:46Survey results
  19. 20:40Testing robots
  20. 21:04MVP pattern
  21. 22:31Test hackathon
  22. 24:04The problem with robots
  23. 28:00The solution
  24. 29:17Starter pack
  25. 31:08API
  26. 35:12Test doubles
  27. 39:38Better solution
~/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.