swift-testing

Installation
SKILL.md

Swift Testing

Core testing patterns for Swift using the Swift Testing framework, XCTest, and XCUITest.

When to Activate

  • Writing tests for Swift or SwiftUI code
  • Setting up a test target in Xcode
  • Testing async/actor code
  • Writing UI automation tests
  • Achieving 80%+ code coverage in Swift projects
  • Migrating an existing XCTest suite to the Swift Testing framework (@Test, #expect)
  • Debugging flaky tests caused by shared mutable state or fixed sleep waits
  • Adding parameterized test cases to cover multiple input combinations efficiently

Framework Selection

Installs
1
GitHub Stars
14
First Seen
Jun 19, 2026
swift-testing — marvinrichter/clarc