iOS Snapshot tests + dark mode support
9 min readMar 28, 2021
Writing tests for your UI views is so important as unit and integration tests. These kinds of tests are not mandatory but are helpful while developing your iOS application. Today I want to share with you how to add snapshot tests using iOSSnapshotTestCase
framework and how to add support for dark mode.