
swift-testing
API reference: Swift Testing framework. @Test, @Suite, expect, require, traits, parameterized tests, migrating from XCTest.
- Installs
- 652
- Last 24h
- +13
- Trending rank
- #7551
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/prisma-labs-dev/apple-skills --skill swift-testing- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads swift-testing automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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
.mdfiles first. - If the topic is not here, check the other installed Apple skills you have available by their names, descriptions, or
SKILL.mdfrontmatter, then grep their local files. This is faster and uses less context than fetching new docs from the internet. - If no installed skill has the page, use the relevant documentation path from
testing-overview.mdwith thesosumi.aiMarkdown mirror. For example,/documentation/testing/testmaps tohttps://sosumi.ai/documentation/testing/test.
FAQ
What does the swift-testing skill do?
API reference: Swift Testing framework. @Test, @Suite, expect, require, traits, parameterized tests, migrating from XCTest.
How do I install swift-testing?
Run npx skills add https://github.com/prisma-labs-dev/apple-skills --skill swift-testing in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/swift-testing/ (personal) or .claude/skills/swift-testing/ (project).
Which AI agents can use swift-testing?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is swift-testing safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains swift-testing?
It is published by prisma-labs-dev in prisma-labs-dev/apple-skills. It has 652 recorded installs.
More from prisma-labs-dev/apple-skills
hig
prisma-labs-dev/apple-skills
Fact lookup: Apple Human Interface Guidelines corpus (greppable markdown). Query on demand for accessibility and ergonomic minimums (hit-target sizes, Dynamic Type), platform terminology, system component capabilities, and App-Review-relevant conventions. Not design direction.
ios-liquid-glass
prisma-labs-dev/apple-skills
API reference: Liquid Glass (iOS 26+). Query for glass effects, navigation patterns, GlassEffect modifiers, design principles.
apple-docs-index
prisma-labs-dev/apple-skills
Index of Apple developer documentation for iOS, macOS, and related frameworks. Use when looking up what APIs exist in a framework, browsing available documentation, or deciding what docs to fetch. Covers SwiftUI, UIKit, Core Animation (QuartzCore), XCTest, HealthKit, Combine, SwiftData, and more.
healthkit
prisma-labs-dev/apple-skills
API reference: HealthKit. Query for HKHealthStore, HKQuantitySample, workouts, health data read/write.
ios-dev
prisma-labs-dev/apple-skills
Start here for any iOS or SwiftUI task. Coordinates best-practice guides, correctness checks, and full Apple API references. Use before navigating to other Apple skills — for building, reviewing, refactoring, or debugging iOS apps.
xcuitest
prisma-labs-dev/apple-skills
API reference: XCUITest. Query for element queries, waiting patterns, Swift 6 @MainActor, assertions, screenshots, launch arguments.
Popular testing & qa skills
tdd
mattpocock/skills
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
grilling
mattpocock/skills
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
migrate-to-shoehorn
mattpocock/skills
Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.
run-train
lllllllama/rigorpilot-skills
Rigor Train skill for deep learning research repositories. Use when a documented or selected training command should be run conservatively for startup verification, short-run verification, full kickoff, or resume, with command, config, seed, log, checkpoint, status, and metric evidence written to standardized trainoutputs/. Do not use for environment setup, exploratory sweeps, speculative idea implementation, or end-to-end orchestration.
test-driven-development
obra/superpowers
Use when implementing any feature or bugfix, before writing implementation code
finishing-a-development-branch
obra/superpowers
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work