🎨 Simplify test usage and change names

This commit is contained in:
Tw93
2025-08-22 12:47:37 +08:00
parent 8a15e989b0
commit 1761802105
13 changed files with 472 additions and 900 deletions

View File

@@ -5,9 +5,20 @@
## 运行测试
```bash
npm test
# 完整测试套件(推荐)
npm test # 运行完整测试套件包含真实构建测试8-12分钟
# 开发时快速测试
npm test -- --no-build # 跳过构建测试仅验证核心功能30秒
```
### 🚀 完整测试套件包含:
-**单元测试**CLI命令、参数验证、响应时间
-**集成测试**:进程管理、文件权限、依赖解析
-**构建器测试**:平台检测、架构检测、文件命名
-**真实构建测试**完整的GitHub.com应用打包验证
## 测试内容
### 单元测试6个