iOS Testing
iOS test strategy — Swift Testing and XCTest, async and actor tests, fakes and URLProtocol stubs, XCUITest with accessibility identifiers, snapshot tests, test plans, CI and flaky-test control.
What it does
iOS test strategy — Swift Testing and XCTest, async and actor tests, fakes and URLProtocol stubs, XCUITest with accessibility identifiers, snapshot tests, test plans, CI and flaky-test control.
- Category
- mobileiostesting
- Platforms
- ios
- Frameworks and tools
- xctestswift-testingxcuitestswiftui
- Capabilities
- testingcode-generationreview
Example tasks
- “Write unit tests for an async view model with a fake repository and controlled time.”
- “Add XCUITest coverage for onboarding and login with stable accessibility identifiers.”
- “Stabilize flaky UI tests on CI with test plans and retries.”
Works with
Permissions summary
Files
Reads files only
Shell
No shell commands
Network
No network
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .claude/skills/<id>/SKILL.md |
| OpenAI Codex | Adapter | .codex/skills/<id>/SKILL.md |
| Cursor | Adapter | .cursor/rules/<id>.mdc |
| VS Code (Copilot) | Adapter | .github/instructions/<id>.instructions.md |
| Generic markdown | Adapter | docs/forgekit/skills/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (61 lines in total).
- 01iOS Testing
- 021. Unit tests
- 032. Networking and persistence
- 043. UI tests (XCUITest)
- 054. Snapshot and performance tests
- 065. Test plans, CI and flakiness
- 07Common mistakes
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — iOS Testing
1.0.0
- Initial release.