# Integration Test

> Testing boundaries between components, databases, and external APIs

- Skill: `dongduong2001/integration-test` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dongduong2001/integration-test`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dongduong2001/integration-test/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: DongDuong2001 (https://skillmd.com/u/dongduong2001)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/dongduong2001/integration-test

---


# Integration Test Skill

This skill governs testing the seams and connections between various components of the system.

## When to use this skill
- When validating database queries, ORM layers, and transaction logic.
- When ensuring microservices communicate correctly.
- When testing against third-party API contracts.

## Guidelines
- **Real Infrastructure:** Where possible, use real databases (via Docker/Testcontainers) instead of in-memory mocks for accurate behavior replication.
- **Clean State:** Ensure the database or state is reset before or after each integration test to prevent cross-test pollution.
- **Contract Testing:** Consider Consumer-Driven Contracts (like Pact) when integrating with external services to catch API changes early.

