~/talk

What people get wrong about testing and how can you leverage tests to develop a lot faster!

Talkat iOS Conf SG 2025 · 2025-01-15..01-17· [testing]
slides:none on file

Claim: testing enables safe large refactors — one week rebuilding Sourcery’s parser by replacing SourceKit with SwiftSyntax produces 10,000 additions and 21,000 deletions with minimal breakage because tests caught regressions. Practical rules: prefer test-driven development (red‑green‑refactor), write behavioral tests not implementation checks, and use mocks not real network to avoid flaky slow suites. Target fast isolated tests (aim under one second), add tests for bugs and critical business paths, and use tools like Sourcery, SwiftyMocky, CustomDump and snapshot testing.

AI-written summary · about

  1. 0:00Testing introduction
  2. 2:49Testing misunderstandings
  3. 7:05TDD best practices
  4. 13:22Testing anti-patterns
  5. 18:18Maintainable tests
  6. 24:40Legacy code testing
  7. 29:37Key takeaways
  8. 31:47Q&A
~/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.