xcresult_browse
Analyze XCResult files to list all tests or inspect specific test details, including pass/fail status, failure reasons, and console output. Automatically manages large console logs for efficient review.
Instructions
Browse XCResult files - list all tests or show details for a specific test. Returns comprehensive test results including pass/fail status, failure details, and browsing instructions. Large console output (>20 lines or >2KB) is automatically saved to a temporary file.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
include_console | No | Whether to include console output and test activities (only used with test_id) | |
test_id | No | Optional test ID or index number to show details for a specific test | |
xcresult_path | Yes | Absolute path to the .xcresult file |
Input Schema (JSON Schema)
{
"properties": {
"include_console": {
"default": false,
"description": "Whether to include console output and test activities (only used with test_id)",
"type": "boolean"
},
"test_id": {
"description": "Optional test ID or index number to show details for a specific test",
"type": "string"
},
"xcresult_path": {
"description": "Absolute path to the .xcresult file",
"type": "string"
}
},
"required": [
"xcresult_path"
],
"type": "object"
}