integration-testing
Skill1 starsChanged 52 days agoMITView on GitHub
Use when verifying interactions between multiple components, modules, or services — API-to-database persistence, message queues, external service adapters, and Testcontainers.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- Wade-DevCode/awesome-coding-skills-cntheir own version, first seen Nov 8, 2026
- s-morgan-jeffries/omnifocus-mcptheir own version, first seen Nov 8, 2026
- DevelopersGlobal/ai-agent-skillstheir own version, first seen Oct 25, 2026
- Ronnasayd/aipptheir own version, first seen Oct 20, 2026
- zyggy-org/zyggytheir own version, first seen Oct 13, 2026
- kid-sid/claude-spellbooktheir own version, first seen Oct 9, 2026
Used with
Projects with it also use performance-patterns, api-design and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
farming-labsSkillperformance-patterns
Explains web performance patterns including Core Web Vitals, network and JavaScript cost, rendering and hydration work, lazy loading, caching, and performance budgets. Use when diagnosing slow pages, improving user-perceived speed, or deciding which optimization strategy matters most.
Also in 3 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 6 projects that use this
MicrosoftSkillerror-handling
统一错误处理系统。在添加 API 端点、修改错误处理、添加前端 API 调用、编写错误相关测试时使用。
Also in 3 projects that use this
- +1 more from microsoft
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- DevelopersGlobal/ai-agent-skills★ 216same name
- kid-sid/claude-spellbook★ 190same name
- s-morgan-jeffries/apple-mail-mcp★ 104same name
- s-morgan-jeffries/apple-mail-fast-mcp★ 103same name
- elastic/integration-skills★ 16same name
- s-morgan-jeffries/omnifocus-mcp★ 8same name
- Wade-DevCode/awesome-coding-skills-cn★ 7same name
- zyggy-org/zyggy★ 2same name
- caseyng/Claude-skills★ 1same name
- Ronnasayd/aipp★ 1same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository98 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- 42crunch-api-security-testingSkill
- a-b-testingSkill
- acceptance-testingSkill
- accessibility-testingSkill
- ai-agent-evaluationSkill
- ai-code-securitySkill
- ai-ml-testingSkill
- analytics-tracking-testingSkill
- api-testingSkill
- authn-authz-testingSkill
- autonomous-qa-orchestrationSkill
- bdd-gherkin-testingSkill
- blockchain-smart-contract-testingSkill
- bug-reportingSkill
- chaos-resilience-testingSkill
- chatbot-voice-agent-testingSkill
- cicd-testingSkill
- cli-testingSkill
- cloud-infrastructure-testingSkill
- code-coverage-analysisSkill
- compatibility-testingSkill
- compliance-testingSkill
- concurrency-race-condition-testingSkill
- configuration-feature-flag-testingSkill
- contract-testingSkill
- cross-browser-testingSkill
- database-testingSkill
- data-migration-testingSkill
- data-pipeline-etl-testingSkill
- date-time-timezone-testingSkill
- desktop-app-testingSkill
- disaster-recovery-backup-testingSkill
- e2e-testingSkill
- email-notification-testingSkill
- event-driven-messaging-testingSkill
- exploratory-testingSkill
- flaky-test-managementSkill
- functional-testingSkill
- fuzz-testingSkill
- game-testingSkill
- graphql-testingSkill
- iac-container-security-testingSkill
- installation-upgrade-testingSkill
- iot-embedded-testingSkill
- llm-security-auditSkill
- llm-testingSkill
- localization-testingSkill
- manual-testingSkill
- mcp-testingSkill
- memory-leak-resource-testingSkill
- microservices-testingSkill
- mobile-testingSkill
- mutation-testingSkill
- observability-testingSkill
- payment-ecommerce-testingSkill
- performance-testingSkill
- production-monitoring-synthetic-testingSkill
- property-based-testingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Prefer many narrow tests plus contracts and a few broad ones (microservices-testing).
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Integration Testing
Integration tests verify that independently built pieces (modules, services, databases, queues, third-party adapters) work together across their real interfaces. They find the bugs unit tests structurally cannot: wrong SQL, serialization mismatches, misconfigured clients, transaction and timeout behavior.
Scope
| Kind | What runs for real | What is faked |
| Narrow | One service + its real datastore/cache/queue (Testcontainers) | Other services (stubbed at HTTP level) |
| Broad / service | Several services in compose/k8s | Only external third parties |
| Contract | Consumer vs provider expectations | Both sides verified independently (contract-testing) |
Prefer many narrow tests plus contracts and a few broad ones (microservices-testing). |
Core checklist
- Persistence & transactions: full CRUD against the same engine and version as production (no in-memory substitute for a different SQL dialect); migrations apply cleanly on an empty and on a populated database; rollback on failure leaves no partial writes; constraints, unique keys, cascades; concurrent transactions and pool behavior (
concurrency-race-condition-testing). - Messaging: publish/consume, serialization and schema compatibility, idempotent consumers, retries, DLQ routing, ordering assumptions (
event-driven-messaging-testing). - HTTP clients and adapters: timeouts, retries with backoff and jitter, circuit-breaker open/half-open, handling of 4xx/5xx/slow/malformed/empty responses, auth token refresh. Stub servers: WireMock, MockServer, MSW, Prism.
- Configuration wiring: the real DI container/app context boots; env vars and secrets resolve; health/readiness endpoints report dependency status.
- Security boundaries: authorization enforced at the service and data layer, not just in the controller.
- Time and files: scheduled jobs (fake clock), file storage, temp directories, object storage (MinIO/LocalStack).
Environment and fixtures
// JUnit 5 + Testcontainers (real Postgres, same major version as prod)
@Testcontainers class OrderRepoIT {
@Container static PostgreSQLContainer<?> pg = new PostgreSQLContainer<>("postgres:16");
@Test void persistsAndReadsBack() { /* run migrations, insert via repo, query via JDBC, assert */ }
}# pytest + testcontainers
@pytest.fixture(scope="session")
def db():
with PostgresContainer("postgres:16") as pg:
run_migrations(pg.get_connection_url()); yield pgdocker compose -f docker-compose.test.yml up -d --wait && pytest -m integration && docker compose down -v- Cleanup strategy: wrap each test in a transaction and roll back, or truncate touched tables, or use a template database per worker. Never drop/recreate schema per test.
- Isolation: unique IDs per test, no dependence on execution order, parallel-safe.
- Determinism: pin image versions/digests; wait on health checks, not sleeps; poll-until with timeout for async effects.
Strategies for integrating many parts
Big-bang (avoid) · top-down with stubs · bottom-up with drivers · sandwich · incremental by risk: integrate the riskiest boundary first (payments, auth, data migration).
Anti-patterns
Shared mutable state between tests · running against a shared staging environment where concurrent writes cause flakiness · asserting on internals rather than observable results · mocking the database you own · slow suites with no tiering (tag and run them in a separate CI stage) · ignoring failure modes (timeouts, partial failures).
Related
unit-testing, contract-testing, database-testing, microservices-testing, test-environment-management, api-testing
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

