9. Getting Started with Testing
Today on Fatal Error: a crash course on a bunch of useful concepts for testing iOS apps in Swift.
- Automated Tests as Documentation
- Code Coverage in Xcode
- Danger CI & Fastlane
- View Models: see episodes 2 and 3
- Dependency Injection
- Mocking Classes You Don't Own
- Protocol-Oriented Programming in Swift (WWDC 2015)
- Don't mock what you don't own
- Screenshot testing: Facebook's SnapshotTestCase; objc.io article
- Working Effectively with Legacy Code by Michael Feathers
- Testing, for people who hate testing
- OHHTTPStubs
- OCMock
Other links Chris likes, which we didn't discuss in this episode: