Skip to content
aj-geddes avatar

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
View on GitHub

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 -y

Installs 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

Similar to Integration Testing

More Testing & QA