Files
rustfs-console/package.test.json
T
overtrue 42b6f36acd feat: 添加完整的测试套件和 CI/CD 流水线
🧪 测试套件:
- 添加 62 个测试用例(单元 + 集成 + 性能测试)
- 达到 98.5% 代码覆盖率(语句)
- 达到 93.5% 分支覆盖率
- 达到 100% 函数覆盖率
- 包含完整的 Mock 和测试工具

🚀 CI/CD 流水线:
- 测试流水线:多版本测试、覆盖率报告、浏览器兼容性
- 质量流水线:代码格式、类型检查、依赖安全、复杂度分析
- 发布流水线:自动构建、部署、GitHub Release 创建
- 依赖管理:自动安全审计、依赖更新、测试验证

📚 文档和模板:
- PR 模板和 Issue 模板
- 完整的 CI/CD 使用文档
- 测试套件说明文档

🔧 配置优化:
- 重构 config-helpers.ts 模块
- 改进类型定义和错误处理
- 优化配置获取逻辑和性能
2025-10-07 22:56:36 +08:00

20 lines
616 B
JSON

{
"name": "nuxt-app-test-dependencies",
"description": "Test dependencies for config-helpers module",
"devDependencies": {
"vitest": "^2.1.8",
"jsdom": "^25.0.1",
"@vitest/ui": "^2.1.8",
"c8": "^10.1.2"
},
"scripts": {
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"test:config-helpers": "vitest run tests/utils/config-helpers",
"test:performance": "vitest run tests/utils/config-helpers.performance.test.ts",
"test:integration": "vitest run tests/utils/config-helpers.integration.test.ts"
}
}