Files
REVOXELSEG_DICOM/工程分析/测试方案-2026-05-24-16-28-58.md

58 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-16-28-58
## 测试方案文档路径
`工程分析/测试方案-2026-05-24-16-28-58.md`
## 静态检查
-`WebSite/` 执行 `npm run lint`
## 构建检查
-`WebSite/` 执行 `npm run build`
## 关键业务场景验证
- 公网 `https://revoxel.huijutec.cn/``/api/health` 可访问。
- 只显示 `liver_artery``liver_right` 时,选择“可见类别 + 构件分别导出”,导出包 `segmentation-parts/` 只包含这两个构件。
- 已隐藏构件不出现在 `segmentation-parts/` 目录中。
- overlay 仍只统计当前可见构件。
## 医学影像数据相关边界验证
- `liver_artery` 作为细长血管结构允许保持窄形态,但不应由导出算法额外生成跨区域长线桥。
- `liver_right` 大区域内部不应因为扫描线小缝形成大量空条纹。
- 分割修补不应跨断开连通组全局连接。
## 部署验证
- 重启 `tmux` 会话 `revoxelseg-dicom`
- 验证 `http://127.0.0.1:4000/api/health`
- 验证 `http://127.0.0.1:4000/`
- 验证 `https://revoxel.huijutec.cn/api/health`
- 验证 `https://revoxel.huijutec.cn/`
## Git/Gitea 备份验证
- `git status --short` 检查无关运行态文件未被暂存。
- Commit message 包含 `2026-05-24-16-28-58`
- 推送到 `origin/main` 并确认本地远端同步。
## 风险与回归关注点
- 不把用户当前工作区可见状态误写死为全局默认。
- 不让历史 `segmentationResults` 覆盖用户刚刚点击的眼睛状态。
- 不把导出测试生成的 `.tar.gz``.nii.gz` 混入 Git。
## 执行结果
- 重启前后 `https://revoxel.huijutec.cn/``/api/health` 均返回 HTTP 200。
- `npm run lint`:通过。
- `npm run build`:通过;仅有 Vite chunk size 常规提示。
- `liver_right.stl` 高精度预览验证:`triangleCount=297268``sampledTriangles=297268`
- `liver_artery.stl` 高精度预览验证:`triangleCount=220920``sampledTriangles=220920`
- 项目 `123` 可见类别分别导出验证通过:`segmentation-parts/` 仅包含 `004-liver_artery-label.nii.gz``006-liver_right-label.nii.gz` 和 labels.json不再导出 `007/008/009`
- 本机 `http://127.0.0.1:4000/api/health`HTTP 200。
- 公网 `https://revoxel.huijutec.cn/api/health`HTTP 200。