What problem does it solve?
Manual UI regression testing for SwiftUI apps is time-consuming, error-prone, and often misses subtle visual changes that slip into production and impact user experience.
Core Features & Use Cases
- Automated Snapshot Test Generation: Creates boilerplate for swift-snapshot-testing to capture visual states of SwiftUI views across devices, color schemes, and dynamic type sizes.
- Multi-Platform Support: Configures tests for both iOS and macOS projects, with support for Swift Package Manager, CocoaPods, and Tuist.
- CI Integration: Includes ready-to-use GitHub Actions and Xcode Cloud configuration to run snapshot tests automatically on every pull request.
- Use Case: When you update a shared SwiftUI component's styling, this skill sets up tests that automatically flag any unintended visual differences before the code merges to main.
Quick Start
Use the snapshot-test-setup skill to generate visual regression tests for your SwiftUI app's HomeView and SettingsView, configured for iOS and macOS with dark mode and dynamic type coverage.