~/talk

Unit Testing on iOS: No Voodoo necessary

Talkat UIKonf 2013 · 2013-05-14..05-16· [testing, ios]
links:none on file
slides:none on file

Argues that iOS unit testing is practical and fast not mystical, demonstrates OCUnit + Kiwi for BDD style tests, shows expectFutureValue / shouldEventually for async assertions with default 1s timeout (configurable to 10s), and uses OHHTTPStubs intercepts requests to return todo_create.json for tasks.json after 1s so networking can be tested deterministically. Recommends in-memory Core Data stores for tests, xcode-test plus Jenkins for CI, runs quick class tests on every build and full suite on CI, and warns against chasing 100% coverage.

AI-written summary · about

  1. 0:00Introduction
  2. 0:31Integration testing
  3. 1:26Acceptance testing
  4. 2:31Testing frameworks
  5. 3:35Unit testing basics
  6. 4:23Test driven development
  7. 5:41Benefits of TDD
  8. 10:05TDD for developer happiness
  9. 11:27Behavior driven development
  10. 14:07Testing tools for iOS
  11. 15:32Mocks and stubs
  12. 17:27Handling asynchronous tests
  13. 18:58Network request stubbing
  14. 21:13Core data testing
  15. 22:21Testing view controllers
  16. 23:03CI and command line
  17. 24:20Test coverage strategy
  18. 26:22Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.