review-ios-test-results
1
总安装量
1
周安装量
#78467
全站排名
安装命令
npx skills add https://github.com/ddpi/publicarticles --skill review-ios-test-results
Agent 安装分布
amp
1
opencode
1
cursor
1
kimi-cli
1
codex
1
github-copilot
1
Skill 文档
Review iOS Test Results
When to Use
ALWAYS use this skill when:
- Just finished running
xcodebuild testorswift test - Tests failed and need to investigate failures
- User asks about test results, test status, or test failures
- User mentions “ãã¹ãçµæ”, “失æãããã¹ã”, “ãã¹ãã¨ã©ã¼”
- Need to analyze .xcresult files
DO NOT manually parse xcodebuild output – use this skill instead for structured analysis.
Quick Start
# 1. Find latest .xcresult
# Note: <DerivedDataPath> is typically ~/Library/Developer/Xcode/DerivedData/
# but can be changed with xcodebuild's -derivedDataPath option
LATEST_RESULT=$(find <DerivedDataPath>/<ProjectName>-*/Logs/Test -name "*.xcresult" -type d -print0 2>/dev/null | xargs -0 ls -td | head -1)
# 2. Extract summary and detailed results
xcrun xcresulttool get test-results summary --path "${LATEST_RESULT}"
xcrun xcresulttool get test-results tests --path "${LATEST_RESULT}"
Output Requirements
Present results in Japanese with:
- çµ±è¨: Total, passed, failed, skipped tests
- 失æãããã¹ã: Each failed test with error message and
file:linereference - 次ã®ã¹ããã: Actionable suggestions based on failure patterns
Error Handling
- No .xcresult found â Guide user to run tests first
- Multiple failures in same suite â Highlight the pattern
- Assertion failures â Extract and show the assertion condition
Examples
User: "ãã¹ããå®è¡ãããã©å¤±æãã"
â Invoke this skill immediately
User: "ææ°ã®ãã¹ãçµæã確èªãã¦"
â Invoke this skill immediately
User: "xcodebuild test ã§ä½ãã¨ã©ã¼ãåºã"
â Invoke this skill immediately