Generate test report
Skill hoangdh2001/apple-app-ui-test-automation/skills/generate-test-report
Generate a Markdown test report from completed test case results. Used by all platform agents after all test cases have been executed. Writes the report to tests/reports/ and returns the file path.From its SKILL.md
npx -y skills add hoangdh2001/apple-app-ui-test-automation --skill generate-test-reportAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.0 KB, as published. Nobody here has run it
Skill: generate-test-report
Input
results— list of result objects fromrun-test-caseplatform—"iphone"|"ipad"|"macos"(shown in report header)device_name— e.g."iPhone 15 (iOS 17.5)"or"Mac (macOS 15.0)"scheme— Xcode scheme usedbuild_duration_s— total build time in secondssuite_name— e.g."regression"or"focus-session"project_root— path to project root (for git command)
Step 1: Collect metadata
git -C <project_root> rev-parse --short HEAD
xcodebuildmcp --version
axe --version
Compute:
- Total test duration = sum of
duration_sacross all results - Counts: total, passed (✅), flaky (⚠️), failed (❌)
- Timestamp: current datetime as
YYYY-MM-DD HH:MM
Step 2: Write report
Output path: <project_root>/tests/reports/YYYY-MM-DD-HH-MM-<platform>-<suite-name>.md
Report template
# iOS Test Report — <platform> — YYYY-MM-DD HH:MM
## Summary
| | |
|---|---|
| Platform | <platform> |
| Device | <device_name> |
| Scheme | <scheme> |
| Build time | <Xs> |
| Test duration | <Xs> |
| **Total** | <N> |
| ✅ Passed | <X> |
| ⚠️ Flaky (passed on retry) | <X> |
| ❌ Failed | <Y> |
---
## Test Cases
### ✅ <id> — <name> (<duration>s)
> <feature>

---
### ❌ <id> — <name> (<duration>s)
> <feature>
**Error:** <what failed>
**Retry:** <Passed on retry | Failed>
**Logs:**
<captured log output>
```
Screenshot:
Suggested cause: <root cause analysis>
Environment
- Built: YYYY-MM-DD HH:MM
- Commit:
<short sha> - xcodebuildmcp:
<version> - axe:
<version>
## Output
Absolute path to the written report file.