diff --git a/README.md b/README.md index 299fc83..e3663f1 100644 --- a/README.md +++ b/README.md @@ -78,16 +78,25 @@ pnpm run dev ### 🧪 快速测试 ```bash -# Windows -.\test-api.ps1 +# 运行综合测试(推荐) +.\test-comprehensive.ps1 -# Linux/macOS -./test-api.sh +# 跳过限流测试(更快) +.\test-comprehensive.ps1 -SkipThrottleTest + +# 测试远程服务器 +.\test-comprehensive.ps1 -BaseUrl "https://your-server.com" ``` **测试内容:** +- ✅ 应用状态检查 - ✅ 邮箱验证码发送与验证 - ✅ 用户注册与登录 +- ✅ 验证码登录功能 +- ✅ 密码重置流程 +- ✅ 邮箱冲突检测 +- ✅ 验证码冷却时间清除 +- ✅ 限流保护机制 - ✅ Redis文件存储功能 - ✅ 邮件测试模式 @@ -323,9 +332,8 @@ pnpm run test:watch # 生成测试覆盖率报告 pnpm run test:cov -# API功能测试 -.\test-api.ps1 # Windows -./test-api.sh # Linux/macOS +# API功能测试(综合测试脚本) +.\test-comprehensive.ps1 ``` ### 📈 测试覆盖率