~/talk

Let's TDD

Talkat Let'Swift 2018 · on Tuesday, 2018-11-06· [swift, testing]
links:none on file
slides:none on file

Builds a searchable demo app by test-driving a networking service and the view layer, using Alamofire for requests and XCTest expectations for async checks. Replaces singleton calls with a Alamofire session manager protocol, injects a stub and spy objects to verify URI, HTTP method and parameters, and fixes a loading-indicator bug discovered by tests. Demonstrates TDD cycle: write failing test, implement minimal code, refactor; reports team coverage climbs from ~30% to 70–80% on new code.

AI-written summary · about

  1. 0:00Introduction to TDD
  2. 1:08TDD basics and challenges
  3. 2:36Live coding search feature
  4. 10:00Testing network dependencies
  5. 23:33Mocks vs stubs in testing
  6. 34:18Fixing UI state bugs
  7. 44:40View testing strategies
  8. 51:11TDD in real projects
  9. 1:01:45New feature with TDD cycle
  10. 1:16:20Q&A and closing
~/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.