Integration Testing
Design integration tests that verify real API, database, and service interactions without mocking the data layer.
- CCM score
- 42 of 100
- skills.sh installs
- 564
- GitHub stars
- 396
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers API endpoints, database operations, service-to-service calls, auth flows, and message queue producers and consumers
- Provides a Quick Start Jest and supertest example plus 4 reference guides for API, database, external service, and queue testing
- Enforces real databases over mocks, verification of database state after operations, and cleanup of test data between tests
- Designed for teams validating service layers and third-party integrations beyond what unit tests cover
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill integration-testing -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Integration Testing
Table of Contents
Overview
Integration testing validates that different components, modules, or services work correctly together. Unlike unit tests that isolate single functions, integration tests verify the interactions between multiple parts of your system including databases, APIs, external services, and infrastructure.
When to Use
- Testing API endpoints with real database connections
- Verifying service-to-service communication
- Validating data flow across multiple layers
- Testing repository/DAO layer with actual databases
- Checking authentication and authorization flows
- Verifying message queue consumers and producers
- Testing third-party service integrations
Quick Start
Minimal working example:
// test/api/users.integration.test.js
const request = require("supertest");
const app = require("../../src/app");
const { setupTestDB, teardownTestDB } = require("../helpers/db");
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- Testing & QA, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the integration-testing skill do?
The integration-testing skill designs and implements integration tests that verify component interactions, API endpoints, database operations, and external service communication. It covers service layer validation and end-to-end component testing for agents working on integration-test code.
How do I install the integration-testing skill?
Run npx -y skills add aj-geddes/useful-ai-prompts --skill integration-testing -y in your project to install it. Once installed, the integration-testing skill lets your agent write tests that hit real databases and actual HTTP requests instead of mocks.
Where does integration-testing rank in the Testing and QA category?
The integration-testing skill sits in the Testing and QA category on Claude Marketplaces, next to tdd, migrate-to-shoehorn, test-driven-development, webapp-testing, and break-ui. Its own focus is integration tests across APIs, databases and external services rather than unit-level test-driven work.
Does the integration-testing skill need a test database?
The integration-testing skill recommends real databases in tests, using in-memory databases or test containers rather than production databases. It also advises cleaning data between tests and avoiding hardcoded URLs or credentials.
More from aj-geddes/useful-ai-prompts
All 258- Oauth Implementation560
- Memory Optimization555
- Semantic Versioning555
- Caching Strategy552
- Web Performance Audit550
- Real Time Features549
- Browser Debugging547
- Mobile Offline Support547
- Design System Creation545
- Gcp Cloud Run545
- Causal Inference544
- Code Generation Template539
- Sql Injection Prevention538
- Anomaly Detection534
- Gap Analysis534
- Grpc Service Development533
- Network Debugging533
- Kpi Dashboard Design531
- Payment Gateway Integration531
- Progressive Web App531
- Microservices Architecture530
- Sql Query Optimization529
- Neural Network Design524
- ML Model Training523
Similar to Integration Testing
More Testing & QAunit-testing-frameworkaj-geddes/useful-ai-prompts635 installsStructured guidance for writing unit tests with Jest, pytest, JUnit, or RSpec, following the AAA pattern.
mocking-stubbingaj-geddes/useful-ai-prompts434 installsStructured guide for isolating unit tests with mocks, stubs, spies, and test doubles across Jest, unittest.mock, and Mockito.
unit-test-service-layergiuseppe-trisciuoglio/developer-kit4K installsMockito-based unit test patterns for @Service classes that isolate business logic from databases and external APIs.
javascript-testing-patternssickn33/agentic-awesome-skills308 installsGuide for testing JavaScript and TypeScript apps with modern frameworks, covering unit, integration, and end-to-end tests.
testing-strategyanthropics/knowledge-work-plugins6.9K installsStructured test plan design that matches test types to each component and flags gaps in existing coverage.
testing-patternsvudovn/ag-kit215 installsReference guide of testing principles covering the test pyramid, AAA structure, and mocking strategies for reliable suites.