parse-rf-results
Parse Robot Framework test results from output.xml. Use when: analyzing test execution results, extracting pass/fail statistics, filtering failures, summarizing test runs
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Parse Robot Framework Results
Uses scripts/parse_results.py to parse output.xml via robot.api.ExecutionResult.
The output.xml file is always at atest/output/output.xml. Do not guess another path unless the user explicitly provides one.
Running the script
.venv/bin/python .github/skills/parse-rf-results/scripts/parse_results.py atest/output/output.xml
On Windows:
.venv\Scripts\python .github/skills/parse-rf-results/scripts/parse_results.py atest/output/output.xml
The script prints three sections automatically: pass rate summary, individual failures with error messages, and failures grouped by identical error message.
Optional flags
--keyword-logs
Include all keyword log messages for each failing test. Each log entry shows the timestamp, log level, and message text. HTML tags are stripped from messages.
.venv/bin/python .github/skills/parse-rf-results/scripts/parse_results.py atest/output/output.xml --keyword-logs
Example output for a failing test:
FAIL Suite.Test Name
keyword: Some Keyword (SomeLibrary)
AssertionError: expected True but got False
--- keyword logs ---
20260306 14:32:01.123 INFO Clicks the element 'id=submit'.
20260306 14:32:01.456 DEBUG Clicked element: 'id=submit' successfully.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-03-11
- 索引更新时间
- 2026-03-11
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!