Files
platforms/checking/templates/测试用例模板.md

46 lines
1.1 KiB
Markdown
Raw Permalink 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.
# 测试用例TC-模块-编号 标题
## 基本信息
| 字段 | 内容 |
| --- | --- |
| 关联需求/AC | 例如 AC-07 |
| 层级 | L1/L2/L3/L4/L5/L6/L7 |
| 优先级 | P0/P1/P2/P3 |
| 被测模块 | apps/frontend/backend 具体目录 |
| 前置版本 | 提交、构建号、Schema、配置版本 |
| 自动化 | 是/否/计划中;脚本路径 |
## 前置条件与数据
- 账号/角色/组织:
- 核心对象 identity
- 初始状态与余额:
- Mock/第三方模式:
## 步骤与预期
| # | 操作/请求 | 预期 UI/API | 数据库/事件/审计断言 |
| --- | --- | --- | --- |
| 1 | | | |
## 必测变体
- [ ] 首次合法请求
- [ ] 相同幂等键重复请求
- [ ] 无权/跨组织/跨对象请求
- [ ] 非法状态跳转或边界金额
- [ ] 超时、断连、重复/乱序回调
- [ ] 重试、补偿、恢复和审计查询
## 执行记录
| 字段 | 内容 |
| --- | --- |
| 结果 | 通过/失败/阻塞/未执行 |
| 执行人/时间 | |
| 证据 | 脱敏请求响应、截图、日志 request_id、审计 identity |
| 缺陷 | 编号、等级、链接 |
| 复测 | 版本、结果、证据 |