test-integration
Solid执行项目集成测试流程。 当需要运行集成测试或端到端验证时使用。
Testing & QA 83 stars
5 forks Updated today MIT
Install
Quality Score: 78/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 运行集成测试
执行项目的集成测试流程,进行端到端验证。
## 1. 构建并运行集成测试
项目使用 TypeScript,并将集成测试和端到端测试作为同一套跨模块验证入口:
```bash
npm run test:integration
```
该脚本先执行 `npm run build`,再运行 `tests/integration/**/*.test.ts` 和
`tests/e2e/**/*.test.ts`,并启用 Node.js TypeScript strip-types 支持。
## 2. 输出结果
报告结果:
- 运行/通过/失败的测试数
- 环境问题(如有)
- 失败详情(如有)
## 失败处理
如果测试失败:
- 输出失败详情
- 检查环境问题(端口占用、服务未运行等)
- 不要自动修复 —— 等待用户决定
## 后续步骤
测试通过后,建议提交变更:
> **重要**:以下「下一步」中列出的所有 TUI 命令格式必须完整输出,不要只展示当前 AI 代理对应的格式。如果 `.agents/.airc.json` 中配置了自定义 TUI(`customTUIs`),读取每个工具的 `name` 和 `invoke`,按同样格式补充对应命令行(`${skillName}` 替换为技能名,`${projectName}` 替换为项目名)。
```
下一步 - 提交代码:
- Claude Code / OpenCode:/commit
- Gemini CLI:/agent-infra:commit
- Codex CLI:$commit
```
## 注意事项
1. **前置条件**:Node.js >= 22.9.0;脚本会自动构建
2. **环境**:集成测试可能需要外部服务(数据库、API 等)
3. **超时**:集成测试通常耗时较长;请耐心等待
4. **清理**:确保测试完成后清理测试环境
Details
- Author
- fitlab-ai
- Repository
- fitlab-ai/agent-infra
- Created
- 4 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
Testing & QA Listed
cm-qa-engineer
QA 工程师 Skill,执行功能测试、E2E 测试、可视化回归、验收标准核验,自动适配项目测试框架
0 Updated today
kingxiaozhe Testing & QA Listed
how-to-test
完成代码改动后,给出有实际信号的验证步骤;只验证行为、集成、类型、构建或真实副作用,避免低价值脚本和实现细节断言
2 Updated today
beixiyo AI & Automation Solid
upgrade-dependency
升级项目中的指定依赖包到新版本并验证变更。 当需要升级某个依赖并验证改动时使用。参数:包名、原版本和新版本。
83 Updated today
fitlab-ai