
from apple-skills211
Reference skill for Apple's modern Swift Testing framework: defines @Test/@Suite, expectations (#expect/#require), traits, and migration patterns from XCTest.
A concise reference skill providing documentation and examples for Apple's modern Swift Testing framework (iOS 26+). It collects test patterns, decorators (@Test, @Suite), expectation helpers (#expect, #require), parameterized test examples, and migration guidance from XCTest.
Use this skill when an agent needs to generate, refactor, or explain unit and integration tests for Swift/iOS projects, migrate XCTest-based tests to the new framework, or look up idiomatic testing patterns and traits. Helpful during test authoring, CI setup, and code reviews.
Best used with code-capable agents that can produce or modify Swift code (Copilot/Codex, Claude Code, Gemini Code).
This skill has not been reviewed by our automated audit pipeline yet.