Files
XH-XunKe/docs/TEST_REPORT.md
T

33 lines
1.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-11-21
## 环境
- 宿主机没有安装 Java。
- 后端测试容器:`maven:3.9.11-eclipse-temurin-21`。
- 前端:Node 24.18.0,Vitest 5.1.1。
## 结果
| 套件 | 命令 | 结果 |
|---|---|---|
| 后端策略测试 | `scripts/mvn.ps1 test` | 7 通过,0 失败 |
| 前端设备列表 | `npm test` | 1 通过,0 失败 |
| 前端类型与构建 | `vue-tsc --noEmit`、`vite build` | 通过 |
| 学校流程验收 | `scripts/acceptance.ps1` | 通过。输出 `ACCEPTANCE_OK school=2 class=2 course=2 users=5 liveToday=1` |
| 公开接口并发 | 50 个并发请求 `/api/public/site` | 50 成功,0 失败,p95 166 毫秒,最大 214 毫秒 |
| 浏览器 | `http://localhost:18088` | 登录、后台概览和状态页已打开。教室页允许摄像头后,视频与麦克风分别列出真实设备 |
状态页实测:LiveKit 可连接,对象存储可连接,失败录像 1,完成录像 0。失败来自没有浏览器推流时启动的录像任务。
## 未执行
- 把预览中的摄像头推进 LiveKit,以及麦克风电平和非静音观看。预览画面已经出现。
- Egress 生成并回放带音视频的 MP4。
- 真实阿里云、腾讯云短信和 SMTP。
- 50 / 100 / 300 个 WebRTC 观看者。
- 服务器重启后的直播恢复。
没有上述证据时,不把并发观看能力写成已支持。