xcode_test
Run unit and UI tests for a specific Xcode scheme and destination. Define test scope by selecting targets or skipping classes, and set a custom timeout to control execution duration.
Instructions
Run unit and UI tests for the specified scheme and destination
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | Yes | Build scheme name | |
| testPlan | No | Test plan name | |
| destination | Yes | Test destination (e.g., "platform=iOS Simulator,name=iPhone 16") | |
| onlyTesting | No | Run only these test targets/classes/methods | |
| projectPath | No | When omitted, xcodebuild runs in the MCP server process's working directory (usually not the project directory); passing projectPath explicitly is recommended | |
| skipTesting | No | Skip these test targets/classes/methods | |
| timeoutSeconds | No | Command timeout in seconds (default: 600) |