From apple-skills
Provides API reference for Apple's Swift Testing framework: @Test/@Suite functions, #expect/#require assertions, traits, parameterized tests, and XCTest migration. For iOS 18+ apps.
How this skill is triggered — by the user, by Claude, or both
Slash command
/apple-skills:swift-testingExploreThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Apple's modern testing framework (`import Testing`) for iOS 26+.
Apple's modern testing framework (import Testing) for iOS 26+.
| File | Content |
|---|---|
| testing-overview.md | Full Testing framework index |
| defining-tests.md | Defining test functions with @Test |
| organizing-tests.md | Organizing tests with @Suite |
| expectations.md | #expect, #require, confirmations |
| parameterized-testing.md | Parameterized test patterns |
| traits.md | Test traits (tags, conditions, time limits) |
| migrating-from-xctest.md | Migration guide from XCTest |
.md files first.SKILL.md frontmatter, then grep their local files. This is faster and uses less context than fetching new docs from the internet.testing-overview.md with the sosumi.ai Markdown mirror. For example, /documentation/testing/test maps to https://sosumi.ai/documentation/testing/test.npx claudepluginhub vabole/apple-skills --plugin apple-skillsGuides Swift Testing: test structure, #expect/#require macros, traits/tags, parameterized tests, plans, parallel execution, async patterns, XCTest migration. For new tests, modernizing suites, flaky debugging.
Guides Swift Testing code writing, review, and migration with patterns for structs over classes, async confirmations, parameterized tests, exit tests, attachments, and common pitfalls.
Guides writing tests with Swift Testing framework using @Test, #expect, #require macros, migrating from XCTest, async tests, and parameterization.