ios-testing
This skill equips developers with structured testing methodologies tailored for iOS applications built on modular MVVM-C architecture. Explore practical approaches to unit testing, integration testing, and UI automation while maintaining clean separation of concerns across your codebase. Strengthen your testing foundation to build more reliable and maintainable iOS applications.
ios-testing equips developers with structured testing methodologies tailored for iOS applications built on modular MVVM-C architecture. The skill covers practical approaches to unit testing, integration testing, and UI automation while maintaining clean separation of concerns. You'll learn to design testable iOS apps using dependency injection and protocol-based mocks, explore snapshot testing and UI testing strategies, and set up CI pipelines for iOS projects.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-24
ios-testing equips developers with structured testing methodologies tailored for iOS applications built on modular MVVM-C architecture. The skill covers practical approaches to unit testing, integration testing, and UI automation while maintaining clean separation of concerns. You'll learn to design testable iOS apps using dependency injection and protocol-based mocks, explore snapshot testing and UI testing strategies, and set up CI pipelines for iOS projects.
Use it when
- ios-testing includes comprehensive guidance on testing async/await, actors, and concurrent code in Swift 6.2 applications.
- Yes.
Verify before relying
Read SKILL.md below before installing (48 files). Open directory: indexed for reading, not audited.
Install
pproenca/dot-skills/ios-testing · repository language: Shell
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What iOS testing best practices does ios-testing cover?
ios-testing equips developers with structured testing methodologies tailored for iOS applications built on modular MVVM-C architecture. The skill covers practical approaches to unit testing, integration testing, and UI automation while maintaining clean separation of concerns. You'll learn to design testable iOS apps using dependency injection and protocol-based mocks, explore snapshot testing and UI testing strategies, and set up CI pipelines for iOS projects.
How does ios-testing address Swift 6.2 async/await testing?
ios-testing includes comprehensive guidance on testing async/await, actors, and concurrent code in Swift 6.2 applications. The skill teaches you how to properly isolate actor code in tests, handle asynchronous operations reliably, and avoid common pitfalls when testing modern Swift concurrency patterns. This ensures your concurrent code behaves correctly under various conditions.
Can ios-testing help refactor existing tests to best practices?
Yes. ios-testing provides principal-engineer-level guidance for refactoring existing iOS tests to follow best practices. The skill helps you identify and resolve flaky tests, restructure test architecture for maintainability, and align your test suite with MVVM-C patterns and dependency injection principles. This transforms legacy test code into a robust, scalable testing foundation.
What snapshot testing and UI testing strategies are included?
ios-testing covers snapshot testing implementation for visual regression detection and comprehensive UI testing strategies including accessibility identifiers. You'll learn to set up and maintain snapshot tests effectively, design UI tests that are resilient to layout changes, and integrate these testing approaches into your CI pipeline for continuous validation.
How does ios-testing support protocol-based mocks and test doubles?
ios-testing teaches you to design testable iOS apps using protocol-based mocks and dependency injection. The skill explains how to create effective test doubles and fakes that isolate units under test, reduce external dependencies, and enable fast, reliable unit tests. This approach works seamlessly with MVVM-C architecture to keep your codebase modular and testable.
What CI pipeline and test architecture guidance does ios-testing provide?
ios-testing covers iOS CI pipeline configuration and test architecture design to establish a robust continuous integration workflow. You'll learn to structure your test suite for efficiency, configure automated testing in CI environments, and implement strategies for handling flaky tests. This ensures your iOS project maintains high code quality and fast feedback cycles.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
iOS Testing Best Practices
Comprehensive testing guide for iOS and Swift applications, written at principal engineer level. Contains 44 rules across 8 categories, prioritized by impact to guide test architecture decisions, test authoring patterns, and CI infrastructure.
Clinic Architecture Contract (iOS 26 / Swift 6.2)
All guidance in this skill assumes the clinic modular MVVM-C architecture:
- Feature modules import
Domain+DesignSystemonly (neverData, never sibling features) - App target is the convergence point and owns
DependencyContainer, concrete coordinators, and Route Shell wiring Domainstays pure Swift and defines models plus repository,*Coordinating,ErrorRouting, andAppErrorcontractsDataowns
(truncated - see the full file via the links below)
File tree — 15 files
skills/.experimental/ios-testing/SKILL.md
skills/.experimental/ios-testing/assets/templates/_template.md
skills/.experimental/ios-testing/metadata.json
skills/.experimental/ios-testing/references/_sections.md
skills/.experimental/ios-testing/references/arch-arrange-act-assert.md
skills/.experimental/ios-testing/references/arch-constructor-injection.md
skills/.experimental/ios-testing/references/arch-protocol-dependencies.md
skills/.experimental/ios-testing/references/arch-single-responsibility-tests.md
skills/.experimental/ios-testing/references/arch-test-target-separation.md
skills/.experimental/ios-testing/references/arch-testable-import.md
skills/.experimental/ios-testing/references/async-actor-testing.md
skills/.experimental/ios-testing/references/async-await-directly.md
skills/.experimental/ios-testing/references/async-confirmation.md
skills/.experimental/ios-testing/references/async-mainactor-isolation.md
skills/.experimental/ios-testing/references/async-task-cancellation.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Learn comprehensive iOS testing practices aligned with modular MVVM-C architecture”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
This skill equips AI agents to work directly with iOS storyboard files, enabling updates and restructuring of interface layouts within healthcare applications. It integrates with the Agent Skills open format to provide domain-specific capabilities for managing UI components and screen configurations in clinic-focused iOS development.
swift-ui-architect equips AI agents with the expertise to design and implement robust SwiftUI applications using proven architectural patterns. The skill enforces separation of concerns through MVVM-C layering, Swift Package Manager organization, and coordinator-based navigation, enabling agents to generate production-ready iOS codebases that scale with team complexity.
ios-chaos-monkey helps developers identify hidden concurrency issues in Swift iOS applications by simulating chaotic conditions and stress scenarios. It detects data races, deadlocks, and thread-safety violations that traditional testing often misses, enabling more resilient mobile code.
This skill collection provides AI agents with specialized capabilities for constructing and improving iOS design systems. It enables systematic management of design tokens, component styling, and architectural patterns to maintain consistency across iOS applications. Leverage these domain-specific tools to streamline design system workflows and enhance code maintainability.
This skill equips AI agents with the knowledge to architect scalable data persistence solutions in Swift using SwiftData's modern ORM capabilities. It covers entity modeling, repository patterns, and clean architecture principles tailored for MVVM-C workflows. Developers gain practical guidance on structuring data layers that remain maintainable as iOS projects grow in complexity.
ios-xcode equips AI agents with specialized capabilities for iOS development workflows, enabling configuration of Xcode projects with SwiftData persistence layers and clinic-pattern MVVM-C architecture. This skill extends coding agents with domain knowledge for building structured, maintainable iOS applications.
More skills ios-hig (MIT) · swift-refactor (MIT)