Test how components work together. Test database + API, auth + user service, etc. Use when testing multi-component flows or after unit tests pass.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add aibot88/sec_skill_store --skill vant-skill-test-integration --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Vant Skill Test Integration?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/aibot88-vant-skill-test-integration)More formats (shields.io, HTML) on the badges page.
---
name: test-integration
description: Test how components work together. Test database + API, auth + user service, etc. Use when testing multi-component flows or after unit tests pass.
license: MIT
metadata:
author: vant
version: "1.0"
---
# Integration Test
> Components working together.
## When To Use
- Multi-component flows
- After unit tests pass
- Before e2e tests
## What To Test
### 1. Database + API
```javascript
test('user created in DB', async () => {
const user = await userService.create({ email: 'test@example.com' })
const inDb = await db.users.find(user.id)
expect(inDb).toEqual(user)
})
```
### 2. Auth + User Service
```javascript
test('login returns user', async () => {
const session = await auth.login('test@example.com', 'password')
expect(session.user.email).toBe('test@example.com')
})
```
### 3. Queue + Worker
```javascript
test('job processed', async () => {
const job = await queue.add({ task: 'process' })
await worker.process(job.id)
expect(job.status).toBe('complete')
})
```
---
## Output
```
## Integration Tests
| Flow | Status |
|------|--------|
| DB + API | [PASS/FAIL] |
| Auth + User | [PASS/FAIL] |
| Queue + Worker | [PASS/FAIL] |
### Time
[n] seconds
```
**Role**: Integration Tester
**Input**: Components
**Output**: Integration resultsIs this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Practical guide to testing web applications with screen readers for comprehensive accessibility validation.
克劳德代码会话的正式评估框架,实施评估驱动开发(EDD)原则
Django测试策略,包括pytest-django、TDD方法论、factory_boy、模拟、覆盖率以及测试Django REST Framework API。
Go测试模式包括表格驱动测试、子测试、基准测试、模糊测试和测试覆盖率。遵循TDD方法论,采用地道的Go实践。
使用pytest、TDD方法、夹具、模拟、参数化和覆盖率要求的Python测试策略。