~/talk

The Magic of UI Testing

Talkat UIKonf 2018 · 2018-05-13..05-16· [testing]
slides:none on file

Shows concrete Xcode UI testing tactics: use XCUIApplication to launch the app, pass launch arguments like -reset or skip onboarding to wipe UserDefaults or preload cities, and prefer accessibility identifiers over visible text. Replace sleeps with waitForExistence-style waits to avoid flakiness, split tests into suites (PR/ nightly/ developer), use a dev-only UI test bundle as a quick Command-U script, and assert UI state (labels, table cells) after deterministic actions.

AI-written summary · about

  1. 0:00Intro
  2. 0:49Overview
  3. 1:52Testing Strategy
  4. 3:38UI Tests vs Unit Tests
  5. 6:47Opinions on UI Tests
  6. 7:37Log
  7. 8:02Testing
  8. 13:04Flakiness
  9. 15:44Adding new cities
  10. 19:58Making the test faster
  11. 21:22Multiple test suites
  12. 22:38UI tests
  13. 25:43Tips
  14. 27:30Recap
~/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.