Files
ISISeg/工程分析/测试方案-2026-05-18-17-55-29.md

26 lines
761 B
Markdown
Raw 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-17-55-29
## 测试步骤
1. 服务健康检查:
- `curl -s http://127.0.0.1:8001/api/health`
2. 演示视频录制:
- `python3 scripts/record_demo.py`
3. 视频文件校验:
- `ls -lh storage/demos/isiseg_usage_demo.mp4`
- `ffprobe -v error -show_entries format=duration,size -of default=noprint_wrappers=1 storage/demos/isiseg_usage_demo.mp4`
4. 自动化回归:
- `pytest -q`
## 执行结果
- 健康检查:通过,返回 `{"status":"ok","service":"ISISeg","version":"0.1.0"}`
- 演示视频录制:通过,生成 `storage/demos/isiseg_usage_demo.mp4`
- 视频校验:通过,文件大小约 3.4 MB时长 21 秒。
- 自动化回归通过4 个测试全部通过。