test-xcode

Build and test iOS simulator apps through XcodeBuildMCP workflows.

Updated Nov 11, 2023
One-click install
npx skills add https://github.com/michaelvolz/redmuffin.Blazor.StaticWeb --skill test-xcode-michaelvolz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-xcode
Source: https://github.com/michaelvolz/redmuffin.Blazor.StaticWeb/tree/main/.opencode/skills/ce/test-xcode
Command: npx skills add https://github.com/michaelvolz/redmuffin.Blazor.StaticWeb --skill test-xcode-michaelvolz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents unverified iOS code changes from reaching pull requests by ensuring builds and simulator tests run before submission.

Core Features & Use Cases

  • Automated simulator runs: Uses XcodeBuildMCP to discover schemes, boot simulators, build the app, and install and launch it for inspection.
  • Observability and validation: Captures logs, screenshots, and human verification prompts to catch crashes, layout regressions, or blocked flows.
  • Failure tracking: Creates prioritized todos, summarizes test results per screen, and includes retry guidance for complex flows before PR review.

Quick Start

After finishing iOS changes, launch test-xcode with the default scheme to build, deploy, and exercise the app on the simulator.

Frequently Asked Questions about test-xcode

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

FAQPage Schema
How do I verify iOS simulator builds before a pull request?

To verify iOS simulator builds before a PR, you can automate XcodeBuildMCP workflows to boot simulators, build the app, install it, and launch it for inspection. This process captures logs and screenshots to catch crashes or layout regressions before submission.

What do I need to run automated Xcode simulator tests for code changes?

To run automated Xcode simulator tests, you need XcodeBuildMCP connectivity, booted simulators, and accurate scheme selection. These prerequisites allow the validation workflow to discover schemes, build the app, and capture failure logs for human verification.

How does automated iOS simulator testing handle build failures and crashes?

Automated iOS simulator testing handles build failures by creating prioritized todos, summarizing test results per screen, and capturing failure logs. It also provides optional human verification prompts and retry guidance for complex flows before PR review.

Can I capture screenshots and logs from an iOS simulator automatically?

Yes, you can capture screenshots and logs from an iOS simulator automatically using XcodeBuildMCP workflows. This observability feature runs during the build and launch process to detect blocked flows, crashes, and layout regressions for validation.

When should I use an automated Xcode build workflow instead of manual testing?

You should use an automated Xcode build workflow when preparing iOS changes for PRs that require simulator validation. It prevents unverified code from reaching pull requests by ensuring builds and simulator tests run before submission.