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.md
source content

Swift Testing Reference

Apple's modern testing framework (

import Testing
) for iOS 26+.

Downloaded Reference Files

FileContent
testing-overview.mdFull Testing framework index
defining-tests.mdDefining test functions with @Test
organizing-tests.mdOrganizing tests with @Suite
expectations.md#expect, #require, confirmations
parameterized-testing.mdParameterized test patterns
traits.mdTest traits (tags, conditions, time limits)
migrating-from-xctest.mdMigration guide from XCTest

Fetching More Docs

  1. Search this skill's local
    .md
    files first.
  2. If the topic is not here, check the other installed Apple skills you have available by their names, descriptions, or
    SKILL.md
    frontmatter, then grep their local files. This is faster and uses less context than fetching new docs from the internet.
  3. If no installed skill has the page, use the relevant documentation path from
    testing-overview.md
    with the
    sosumi.ai
    Markdown mirror. For example,
    /documentation/testing/test
    maps to
    https://sosumi.ai/documentation/testing/test
    .