iOS Dev 32: Getting Started with Snapshot Testing | Swift 5, XCode 13

In this video, we cover the basics of Snapshot Testing in iOS. We start by creating an app that displays 'Hello World' with white/black background depending on the nightMode value. Next, we learn how to write snapshot tests, record/update snapshots, and view differences in failing snapshots. Finally, we implement a helper function that allows us to be able to create storyboard instances of a ViewController. Say Hi on Social Media: LinkedIn:   / ​​   Twitter:   / its_macco   Additional Materials: Snapshot Testing Strategies: https://github.com/pointfreeco/swift-... Unit Testing:    • iOS Dev 30: Getting Started with Unit Test...   UI Testing:    • iOS Dev 31: Getting Started with UI Testin...   Video Content 1. Introduction 00:00 2. What is Snapshot Testing? 00:43 3. Project Setup 02:30 4. Installing SnapshotTesting 07:19 5. Test Default State 09:34 6. Failing Snapshot Diff 18:28 7. Update Snapshot Reference 20:47 8. Test Dark Mode 23:37 9. Cherry on top 25:38 10. Conclusion 29:21