~/talk

Make UITest great again, using localhost

Talkat iOS Conf Singapore 2019 · on Friday, 2019-01-18· [testing, developer-experience]
github:depoon
slides:none on file

Claim: end-to-end XCUITests get comprehensive coverage by replacing external services with a controllable in‑memory localhost server that runs in the test runner. Implementation: start a server on a random port so tests run in parallel, patch Info.plist with allowLocalNetworking for HTTP, swap API domains to localhost, and serve JSON files or recorded responses. Verifications include ordered request assertions (paths, HTTP bodies, curl strings) and GA event capture; demo tests pass and a suite is built in weeks.

AI-written summary · about

  1. 0:00Start
  2. 3:43Test Pyramid
  3. 4:35Integration Tests
  4. 6:46Setup Localhost - Localhost
  5. 8:25Setup Localhost - API
  6. 10:59Asserting Localhost Requests
  7. 27:34Closing
  8. 29:18What's Next
  9. 29:37References
~/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.