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

28 lines
1.0 KiB
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-37-10
## 自动化验证
- `pytest -q`
- `curl -s http://127.0.0.1:8001/api/health`
- `curl -s http://127.0.0.1:8001/api/samples`
- `git diff --check`
- Chrome headless 截图首页检查布局。
## 手工验证
1. 打开 `http://192.168.3.11:8001/`
2. 右侧应显示左右两个同级面板:左侧“查看原始视频”,右侧“预览与结果”。
3. 点击“加载样例”,左侧显示原始视频播放器。
4. 点击“运行分割”,右侧显示分割结果。
5. 点击左侧“放大查看”,打开原始视频大弹窗。
## 执行结果
- `pytest -q`通过4 个测试全部通过。
- `curl -s http://127.0.0.1:8001/api/health`:通过,返回 `status=ok`
- `curl -s http://127.0.0.1:8001/api/samples`:通过,样例视频和样例图像仍可获取。
- `git diff --check`:通过,无空白格式错误。
- Chrome headless 首页截图:通过,右侧工作区已拆成同级左右两栏,左侧为“查看原始视频”,右侧为“预览与结果”。