Agent skill · software engineering · aj-geddes

integration-testing

Design and implement integration tests that verify component interactions, API endpoints, database operations, and external service communication. Use for integration test, API test, end-to-end component testing, and service layer validation.

Why this skill is useful

Provides specific patterns and practices for integration testing that the AI wouldn't reliably generate on its own.

What it needs

Requires supertest installed locally. About 2k tokens when loaded. Last updated 2026-03-04. 307 stars on the source repository.

What this skill does

Integration Testing Table of Contents Overview When to Use Quick Start Reference Guides Best Practices 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: Reference Guides Detailed implementations in the references/ directory: Guide Contents --- --- API Integration Testing API Integration Testing Database Integration Testing Database Integration Testing External Service Integration External Service Integration Message Queue Integration Message Queue Integration Best Practices ✅ DO Use real databases in integration tests (in-memory or containers) Test actual HTTP requests, not mocked responses Verify database state after operations Test transaction boundaries and rollbacks Include authentication/authorization in tests Test error scenarios and edge cases Use test containers for isolated environments Clean up data between tests ❌ DON'T Mock database connections in integration tests Skip testing error paths Leave test data in databases Use production databases for testing Ignore transaction management Test only happy paths Share state between tests Hardcode URLs or credentials

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aj-geddes/integration-testing

View the source on GitHub

Browse the @skills marketplace