Files
张翔 08ea5fbe98 feat(admin): 添加用户管理相关文件
添加用户管理视图、API和状态管理文件
2026-03-28 14:37:29 +08:00

53 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.
# 测试自动化系统
## 目录结构
- `config/` - 测试配置文件
- `scripts/` - 辅助脚本
- `reporters/` - 报告生成器
- `test-reports/` - 测试报告输出目录
- `logs/` - 日志文件目录
## 使用方法
```bash
./run-all-tests.sh
```
## 功能特性
- ✅ 一键启动所有测试(API + 前端对接 + E2E)
- ✅ 自动重试失败的测试
- ✅ 基于规则的自动修复机制
- ✅ 多格式测试报告(JSON/XML/HTML
- ✅ 自动清理测试环境
## 测试架构
```
API测试层 (JUnit 5 + Spring Boot Test)
前端对接测试层 (Playwright)
E2E测试层 (Playwright + Appium)
```
## 配置文件
- `config/test-config.yml` - 测试执行配置
- `config/auto-fix-rules.yml` - 自动修复规则
## 报告输出
测试报告将生成在 `test-reports/YYYY-MM-DD_HH-MM-SS/` 目录下,包含:
- `console.log` - 控制台输出
- `test-report.json` - JSON格式报告
- `test-report.xml` - JUnit XML格式报告
- `test-report.html` - HTML可视化报告
- `allure-report/` - Allure报告
## 维护者
张翔 - 资深金融级高级自动化测试工程师