~/talk

Testing the Tricky Stuff

Talkat Mobilization 8 · on Friday, 2018-10-26· [testing]
slides:none on file

Shows concrete, working techniques: replace singletons with injectable properties so fakes drive behavior; build custom assertions to collapse many checks into one readable expectation; run tests in playgrounds with a custom test observer; use in-memory Core Data store and create fixtures in setup/teardown to avoid shared state; use predicate/KVO expectations for async progress; randomize and parallelize tests to cut a 3-minute suite toward 30s and surface hidden order dependencies; aims for pragmatic coverage (example: 95% framework, 80% app) and prioritizes bug-reproducing tests.

AI-written summary · about

  1. 0:00Welcome and introduction
  2. 1:48Why testing matters
  3. 3:57Learning from other ecosystems
  4. 5:21Custom assertions in Swift
  5. 6:24Testing Singletons and dependencies
  6. 7:50Testing in playgrounds
  7. 8:32UI and navigation testing
  8. 9:15Asynchronous testing with predicates
  9. 10:40Core Data testing strategies
  10. 11:45Shared fixtures and setup
  11. 12:49Teardown and cleanup
  12. 13:35Class-level setup and teardown
  13. 13:56Randomizing and parallel testing
  14. 15:21Optimizing test speed
  15. 16:47Q&A begins
  16. 17:39Test coverage strategies
  17. 19:43Unit vs integration vs UI tests
  18. 20:38Randomized order benefits
  19. 22:05Adding tests to legacy projects
  20. 23:53Snapshot testing discussion
  21. 24:55Encouraging testing culture
  22. 25:58Final thoughts and thanks
~/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.