Snapshot and tests your views
- Simple usage
- Only diff image on disc
- Concise
- Fast
Device agnostic; decoupled from running simulator device
By default record in current device scale- Global configuration settings using ENV
- GlobalConfig to delete all ref images (before recording them again)
Better error message reporting- Provide additional information about the test in the error reporting
- Grouping Reference images per device/os
- Make public API for XCTest.Issue (may include snapshot images)
- Check frame != .zero for UIViews
- wrap SwiftUIViews into Hosting View, required for SwiftUI views that rely on UIViews e.g. Toggle
- rendering modes: Layer (current), drawHierarchy (requires host app, assert if not), pure swift UI (does not use HostingVC)
ship\generate snapshot host app (auto installer plugin etc)Document setup instead for UI library projects