xcodebuild_test
Run tests for Xcode projects or workspaces, specifying scheme, destination, test plan, and selective test identifiers.
Instructions
Run tests for an Xcode project or workspace.
Args:
project: Path to .xcodeproj file
workspace: Path to .xcworkspace file
scheme: Scheme name to test (required)
destination: Destination to test on
test_plan: Name of test plan to use
only_testing: List of test identifiers to run exclusively
skip_testing: List of test identifiers to skip
Returns: Test results
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "xcodebuild_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| workspace | No | ||
| scheme | No | ||
| destination | No | ||
| test_plan | No | ||
| only_testing | No | ||
| skip_testing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |