first commit
This commit is contained in:
69
dogfood/templates/test-plan-template.md
Normal file
69
dogfood/templates/test-plan-template.md
Normal file
@@ -0,0 +1,69 @@
|
||||
# QA Test Plan
|
||||
|
||||
**Site:** {site_name}
|
||||
**URL:** {target_url}
|
||||
**Date:** {date}
|
||||
**Source:** {repo_url}
|
||||
|
||||
---
|
||||
|
||||
## 一、测试概览
|
||||
|
||||
### 1.1 服务架构
|
||||
|
||||
| 服务 | 地址 | 端口 | 说明 |
|
||||
|------|------|------|------|
|
||||
| {name} | {url} | {port} | {description} |
|
||||
|
||||
### 1.2 测试账号
|
||||
|
||||
| 角色 | 用户名 | 密码 | 用途 |
|
||||
|------|--------|------|------|
|
||||
| 管理员 | {admin_user} | {admin_pass} | 测试管理后台 |
|
||||
| 普通用户 | {normal_user} | {normal_pass} | 测试前台 + 权限拦截 |
|
||||
|
||||
### 1.3 认证机制
|
||||
|
||||
- Cookie 名称: `{cookie_name}`
|
||||
- Cookie 域: `{cookie_domain}`
|
||||
- Token 签发: {mechanism}
|
||||
- 权限模型: {rbac_description}
|
||||
|
||||
### 1.4 优先级定义
|
||||
|
||||
| 级别 | 含义 |
|
||||
|------|------|
|
||||
| P0 | 核心功能,阻塞使用 |
|
||||
| P1 | 重要功能,影响体验 |
|
||||
| P2 | 次要功能,可延后 |
|
||||
|
||||
---
|
||||
|
||||
## 二、测试用例
|
||||
|
||||
### 模块 N:{模块名} ({服务名})
|
||||
|
||||
#### N.1 {子模块名}
|
||||
|
||||
| 编号 | 测试内容 | 步骤 | 预期 | 账号 | 优先级 |
|
||||
|------|----------|------|------|------|--------|
|
||||
| X-001 | {test_name} | {steps} | {expected} | {account} | {priority} |
|
||||
|
||||
---
|
||||
|
||||
## 三、测试执行流程
|
||||
|
||||
```
|
||||
Step 1 → {first_step}
|
||||
Step 2 → {second_step}
|
||||
...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 四、统计
|
||||
|
||||
| 模块 | 公开页面 | 管理后台 | 合计 |
|
||||
|------|:--------:|:--------:|:----:|
|
||||
| {module} | {n} | {n} | {n} |
|
||||
| **合计** | **{n}** | **{n}** | **{n}** |
|
||||
Reference in New Issue
Block a user