ios-unit-test

Run iOS unit and UI tests with xcodebuild and report failure details.

3|1|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/edfenton/claude-skills --skill ios-unit-test-edfenton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ios-unit-test
Source: https://github.com/edfenton/claude-skills/tree/main/ios/ios-unit-test
Command: npx skills add https://github.com/edfenton/claude-skills --skill ios-unit-test-edfenton

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Running iOS unit and UI tests can be slow and debugging failures is tedious; this skill automates test execution and surfaces actionable failure details to speed fixes.

Core Features & Use Cases

  • Automates running unit and UI tests for Xcode projects (SwiftUI or UIKit)
  • Reports failures with target, file, test name, and error message to streamline debugging
  • Supports local development and CI, with an optional post-failure fix-and-re-run flow after approval

Quick Start

Run the configured iOS unit/UI tests for your Xcode project and review the test results report.

Frequently Asked Questions about ios-unit-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate running iOS unit and UI tests with xcodebuild?

Automate running iOS unit and UI tests by executing xcodebuild for test runs and xcrun simctl for simulator management. This skill automates test execution and reports failures with actionable debug details to speed up fixes.

Can I run automated Xcode tests for both SwiftUI and UIKit projects?

Yes, you can run automated Xcode tests for both SwiftUI and UIKit projects. The skill applies to Xcode projects using either framework, supporting test execution in local development or CI environments.

How do I debug iOS test failures faster in CI?

Debug iOS test failures faster by reviewing the failure reports generated after test execution. The skill surfaces actionable debug details including target, file, test name, and error message to streamline debugging.

Does this skill support fixing test failures and re-running automatically?

Yes, this skill supports an optional post-failure fix-and-re-run flow. After reporting test failures, it can apply fixes and re-run the tests automatically once you pass the required approval gate.

Do I need xcrun simctl to run iOS unit tests with this skill?

Yes, you need xcrun simctl for simulator management and xcodebuild for test execution. These dependencies are required to automate running iOS unit and UI tests and manage the testing simulators.