Writing / Testing
Testing
7 essays tagged Testing.
2026
Testing CloudKit sync without waiting for productionHow to reproduce CloudKit sync failures locally with isolated containers, fixture data, and deterministic assertions before users discover them.11 min readSwiftUI sheets and alerts in production: presentation state without navigation soupHow to model sheets, alerts, confirmation dialogs, and full-screen covers so presentation state stays predictable across platforms and deep links.13 min readSwiftData migrations: lightweight schemas, versioning, and rollback planningA production approach to SwiftData schema evolution, including lightweight migration limits, explicit versioning, validation, and rollback planning.12 min readiOS CI that stays fast as the app growsFast iOS CI is not a GitHub Actions trick. It is a product of small schemes, deterministic tests, ruthless caching, useful sharding, and a refusal to let slow checks become everybody’s problem.10 min readSnapshot testing in 2026: when it helps, when it lies, how to keep it saneSnapshot tests are useful when they protect stable UI or serialization contracts, but they become expensive noise the moment they start standing in for design review, product judgment, or weak lower-level tests.10 min readiOS testing strategy: test boundaries, promotion rules, and trustworthy signalA useful iOS testing stack is less about tool choice and more about test boundaries, promotion rules, and keeping slow checks rare enough that people still trust the signal.11 min readA fast, non-flaky iOS test setup: unit speed and stable UI testsA pragmatic iOS testing setup: keep unit tests fast, make UI tests stable, and add one verification loop that catches regressions without turning CI into a lottery.5 min read