testing-integration
4
总安装量
1
周安装量
#50702
全站排名
安装命令
npx skills add https://github.com/wojons/skills --skill testing-integration
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
kimi-cli
1
codex
1
Skill 文档
Integration Testing
Test interactions between multiple components, modules, or services.
When to use me
Use this skill when:
- Components have been unit tested and need to work together
- Testing API contracts between services
- Verifying database interactions work correctly
- Checking third-party service integrations
- Ensuring microservices communicate properly
- Validating data flows through the system
What I do
- Identify integration points between components
- Set up test environments with real or test databases
- Configure service connections and API endpoints
- Test data flow between integrated components
- Verify error handling across component boundaries
- Check contract compliance between services
- Validate end-to-end workflows without UI
Examples
# Run integration tests
npm run test:integration # Node.js integration tests
pytest tests/integration/ # Python integration tests
go test -tags=integration # Go integration tests
# Test specific integrations
npm run test:integration -- --grep "database"
pytest tests/integration/test_api_client.py
# Run with test containers for external services
docker-compose -f docker-compose.test.yml up --abort-on-container-exit
Output format
Integration Test Results:
ââââââââââââââââââââââââââââââ
â
API Service â Database
â User data persists correctly
â Transaction rollback on failure
â Payment Service â Banking API
â Authentication token refresh fails
â Currency conversion rate mismatch
â ï¸ Email Service â Queue
â ï¸ Message retention period too short
Summary: 8 passed, 2 failed, 1 warning
Notes
- Integration tests are slower than unit tests
- Use test databases or in-memory databases
- Mock only external third-party services
- Test happy paths and error scenarios
- Clean up test data between tests
- Consider using test containers for external dependencies
- Focus on contract testing for microservices