Roman Tysiachnik - Auto-Generated Snapshot Tests Over SwiftUI Previews

Опубликовано: 11 Февраль 2023
на канале: CocoaHeads Berlin
438
4

There’s been a lot of talk about snapshot testing for iOS, but it hasn’t solved the most significant problem: making developers write those tests. Our team found a way to eliminate that need by generating snapshot test cases based on SwiftUI previews for UIKit and SwiftUI views.

Roman is an iOS software engineer at Grammarly, and he’s been writing snapshot tests since the beginning of his career. At Grammarly, there’s a completely new way to test UI using snapshots that haven’t been discussed before.

Slides: https://speakerdeck.com/tysiachnik/ro...