generate_html_report
Generate a portable HTML report from the latest test run with embedded screenshots, step list, and history sparkline. No external dependencies needed.
Instructions
把最近一次 run_tests 的結果渲染成單檔自包含 HTML——base64 內嵌截圖、嵌入式 step list、history sparkline 走勢、折疊的 Passed 區塊、展開的 Failed cards。沒外部 CSS/JS 依賴,可以直接寄信、丟靜態 host、貼到 Slack。預設輸出 PROJECT_ROOT/report.html。實作位於 reporters/html.py,走 sample_report.html 同款設計。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_html_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | 選填,輸出檔名(相對於 QA_PROJECT_ROOT)。預設 `report.html`。 | report.html |