Files
ccdi/docs/tests/records/2026-03-25-results-overview-project-analysis-dialog-object-reason-detail-verification.md

33 lines
1.2 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-03-25
## 验证命令
```bash
cd ruoyi-ui
node tests/unit/project-analysis-dialog-abnormal-tab.test.js
node tests/unit/project-analysis-dialog-source-highlight.test.js
npm run build:prod
cd /Users/wkc/Desktop/ccdi/ccdi
mvn test -pl ccdi-project -Dtest=CcdiProjectOverviewMapperSqlTest
```
## 验证结果
- 前端对象卡片相关单测通过。
- 前端生产构建成功。
- 后端 `CcdiProjectOverviewMapperSqlTest` 通过,确认对象异常查询已返回 `reasonDetail`
## 附加说明
- 尝试执行 `mvn test -pl ccdi-project -Dtest=CcdiProjectOverviewServiceImplTest,CcdiProjectOverviewMapperSqlTest` 时,`CcdiProjectOverviewServiceImplTest` 受到当前环境下 Mockito Inline MockMaker 自附着限制影响失败,失败原因是 Byte Buddy agent 无法附着到当前 JVM并非本次 `reasonDetail` 逻辑断言失败。
- 同一轮执行中,`ccdi-project` 模块源码与测试代码已完成重新编译,说明本次新增字段与 SQL 映射能够通过编译阶段。
## 结论
- 本次“异常对象摘要展示异常原因快照”改动已完成,前端展示和后端查询映射均已验证。