~/talk

Layers of testing in iOS applications

Talkat Mobius 2018 Piter · 2018-04-20..04-21· [testing, ios]
links:none on file
links:none on file
slides:none on file

Allegro’s iOS stack supports ~500k monthly users and uses SwiftLint and SwiftFormat with per-module rules and cyclomatic limits (warn >7, build-fail >10). Teams run manual mutation testing for tricky unit tests and keep ~7,000 tests (30% snapshots) using iOSSnapshotTestCase; snapshots consume ~75% of test time so tests run only for changed modules. Nightly KIF end-to-end tests use recorded JSON mocks with schema validation; mocked runs are ~70% less flaky. Deployment uses Bamboo + fastlane, Fabric/TestFlight and phased rollouts.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:28Static analysis with SwiftLint
  3. 8:36Mutation testing for unit tests
  4. 13:51Snapshot testing for UI views
  5. 19:51End-to-end UI tests with mocked API
  6. 26:34Dogfooding and phased releases
  7. 32:12A/B testing for decision making
  8. 35:46Usability testing with real users
  9. 37:17Q&A session
~/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.