results
Parse Robot Framework output.xml results into JSON summaries, detailed suite/test breakdowns, tag and criticality stats, execution errors, failed test messages, keyword-level errors, and timing. Use when asked to read/merge output.xml, compute pass/fail counts, tag stats, criticality, error messages, elapsed time, slowest tests/keywords, or combine/merge multiple outputs via rebot.
manykarim · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add manykarim/robotframework-agentskills --skill results技能说明
name: results description: Parse Robot Framework output.xml results into JSON summaries, detailed suite/test breakdowns, tag and criticality stats, execution errors, failed test messages, keyword-level errors, and timing. Use when asked to read/merge output.xml, compute pass/fail counts, tag stats, criticality, error messages, elapsed time, slowest tests/keywords, or combine/merge multiple outputs via rebot.
Robot Framework Results
Use the bundled script to read Robot Framework output.xml and return JSON. It supports:
- summary totals
- detailed suite/test breakdowns
- tag statistics and criticality grouping
- execution errors, failed test messages, and keyword-level errors
- timing (keyword timing is opt-in)
- single or multiple outputs (merge or combine with rebot)
If
robotcodeis on PATH,robotcode results summary|show|log|stats|diffis usually quicker and uses the project'srobot.toml. Seerobotcode.
Quick start
Single file summary:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/rf_results.py" --output output.xml --sections summary
Multiple outputs, merged (--merge replaces earlier results when tests overlap):
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/rf_results.py" --outputs out1.xml out2.xml --merge --sections summary,details
Multiple outputs, combined under a new top-level suite (no --merge):
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/rf_results.py" --outputs out1.xml out2.xml --name Combined --sections summary
Include keyword timing in timing output:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/rf_results.py" --output output.xml --sections timing --include-keyword-timing
Output sections
summary: totals, suite/test counts, overall statusdetails: suites, tests, failed tests, tag stats, criticality statserrors: execution errors, failed test messages, keyword errorstiming: totals and slowest tests; keyword timing requires--include-keyword-timing
Notes
- Criticality grouping: inferred from tags
critical,noncritical, ornon-critical. If none of these tags are present, the test is grouped asunspecified. - For multiple outputs, use
--mergeto mirrorrebot --mergebehavior. Without--merge, rebot combines outputs under a new top-level suite (name via--name). - JSON output is written to stdout. Use
--prettyfor indented JSON.