Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Integration Testing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-integration-testing)
---
name: integration-testing
description: Integration tests against real dependencies (database, queue, HTTP) using containers or test instances.
tags: [testing, backend]
---
# Integration Testing
## When to use
- Repositories, API handlers, message consumers
## Procedure
1. Start dependencies with Testcontainers or docker compose
2. Migrate schema
3. Seed per test and clean up
4. Test through the public interface
5. Run in CI
## Checklist
- [ ] Tests independent of order
- [ ] Real SQL exercised
## Anti-patterns
- Mocking the database in repository tests
- Sharing one dirty database across tests