Apple-skills swift-testing
API reference: Swift Testing framework. @Test, @Suite, #expect, #require, traits, parameterized tests, migrating from XCTest.
install
source · Clone the upstream repo
git clone https://github.com/vabole/apple-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/vabole/apple-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/swift-testing" ~/.claude/skills/vabole-apple-skills-swift-testing && rm -rf "$T"
manifest:
skills/swift-testing/SKILL.mdsource content
Swift Testing Reference
Apple's modern testing framework (
import Testing) for iOS 26+.
Downloaded Reference Files
| 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 |
Fetching More Docs
- Search this skill's local
files first..md - If the topic is not here, check the other installed Apple skills you have available by their names, descriptions, or
frontmatter, then grep their local files. This is faster and uses less context than fetching new docs from the internet.SKILL.md - If no installed skill has the page, use the relevant documentation path from
with thetesting-overview.md
Markdown mirror. For example,sosumi.ai
maps to/documentation/testing/test
.https://sosumi.ai/documentation/testing/test