Skip to main content

swift-testing

Generates unit, view-model, and snapshot tests for Swift/SwiftUI iOS and macOS projects, using Swift Testing (@Test/#expect) for new code and XCTest where it already exists. Tests the ObservableObject/@Observable view model directly rather than trying to introspect a SwiftUI view's private tree. Use when the user asks to write Swift or SwiftUI tests, test a ViewModel/@Observable class, or mentions .xcodeproj, Package.swift, XCTest, Swift Testing, @Test, or swift-snapshot-testing.

Jump to install

Source facts

Repository
jyotiraditya-chauhan/test-kit
Last source activity
August 20, 2026 at 12:41
Detected SKILL.md language
English
Stars
4
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.