Commit Graph

2 Commits

Author SHA1 Message Date
Developer 6599088e77 test: 自然对话流程测试 — 无force-end核心机能验证
新增C-08测试:
- 完整4题对话流程(MC+SA)
- 自然等待AI评分(不用force-end)
- 验证分数>0和证书生成
- 性能基线: 30秒完成全流程

之前所有测试都用了force-end跳过评分
导致TRUE/FALSE答案映射bug存活2个月未被发现
现在评分路径被真实覆盖

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 14:33:07 +08:00
Developer d229946e07 test: 性能测试+鲁棒性测试 18项全部通过
性能测试(A-01~A-07):
- API响应时间: 登录351ms/模板26ms/题库27ms/题目49ms/启动207ms
- 20人并发创建用户: 328ms
- 10人并发启动考核: 10/10成功 平均376ms

鲁棒性测试(C-01~C-07):
- 恶意请求(超长/负数/100个假ID): 全部合理处理
- 重复操作幂等性: 通过
- 30秒空闲后恢复: state200/answer201
- 连续force-end: 幂等不崩溃
- 重复删除: 200→404 幂等
- 20次循环稳定性: 20/20 平均104ms

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 12:54:38 +08:00