Files
ISISeg/工程分析/测试方案-2026-05-18-19-19-36.md

25 lines
734 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 测试方案
开始时间2026-05-18-19-19-36
## 测试项
- `curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:8001/favicon.ico`
- `curl -s http://127.0.0.1:8001/api/samples`
- `pytest -q`
- Chrome headless 首页截图确认页面仍可渲染。
## 验收标准
- `/favicon.ico` 不再返回 404。
- `/api/samples` 返回样例视频和样例图像。
- 自动化测试通过。
- 网页端加载样例有明确页面提示。
## 执行结果
- `/favicon.ico`:通过,返回 `200 image/svg+xml`
- `/api/samples`:通过,返回 `synthetic_guidewire.mp4``synthetic_guidewire.png`
- `pytest -q`通过4 个测试全部通过。
- Chrome headless 首页截图:通过,页面可正常渲染。