Files
REVOXELSEG_DICOM/工程分析/测试方案-2026-05-24-10-09-37.md

62 lines
2.3 KiB
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-24-10-09-37
## 测试方案文档路径
`工程分析/测试方案-2026-05-24-10-09-37.md`
## 静态检查
- `find 工程分析 -maxdepth 1 -type f | sort`:确认目录精简后仅保留必要文档。
- `git status --short --branch`:确认提交范围只包含本次文档治理变更。
- `git diff --cached --name-status`:提交前核对删除、新增和修改文件。
## 构建检查
-`WebSite/` 执行 `npm run lint`
-`WebSite/` 执行 `npm run build`
## 关键业务场景验证
- 验证首页可访问。
- 验证健康接口可访问。
- 验证公网域名仍返回应用页面。
## 医学影像数据相关边界验证
- 本次不修改医学影像、STL、体素化或导出逻辑。
- 通过 `/api/projects` 或概况接口确认默认项目仍可读取。
## 部署验证
- 检查 `tmux` 会话 `revoxelseg-dicom`
- 检查公网 frpc 容器 `revoxelseg-dicom-frpc`
- 验证:
- `http://127.0.0.1:4000/api/health`
- `http://127.0.0.1:4000/`
- `https://revoxel.huijutec.cn/`
## Git/Gitea 备份验证
- commit message 包含 `2026-05-24-10-09-37` 和简要描述。
- 推送后确认远端 `main` 指向新提交。
## 风险与回归关注点
- 历史三件套删除后,目录更清爽,但查细节需依赖 Git 历史。
- 必须保留核心协作约束和经验记录,不能把工作流删空。
- 不应混入业务源码或运行态文件。
## 执行结果
- 精简后 `工程分析/` 仅保留 6 个文件:`代码编纂工作流.md``工程整体分析.md``经验记录.md`、本次需求分析、实现方案、测试方案。
- 已删除历史 `需求分析-*``实现方案-*``测试方案-*` 和一次性 `系统功能描述-*` 文档;历史内容可通过 Git 历史追溯。
- `npm run lint` 通过。
- `npm run build` 通过Vite 仅提示 chunk 体积超过 500 kB。
- 已重启 `tmux` 会话 `revoxelseg-dicom`,使用 `NODE_ENV=production npm run serve -- --host 0.0.0.0 --port 4000`
- `revoxelseg-dicom-frpc` 容器保持运行。
- `http://127.0.0.1:4000/api/health` 返回 `ok: true`
- `http://127.0.0.1:4000/` 返回 200。
- `https://revoxel.huijutec.cn/` 返回 200。
- `https://revoxel.huijutec.cn/api/health` 返回 `ok: true`
- `https://revoxel.huijutec.cn/api/projects` 可读取默认 DICOM/STL 项目。