Agent skill

Running Integration Tests

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Execute integration tests validating component interactions and system integration.

MITAuto-check passedTesting & QA

Install Running Integration Tests

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill running-integration-tests -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace running-integration-tests --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/running-integration-tests .claude/skills/running-integration-tests && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
running-integration-tests
GitHub stars
2.8k
Token cost
~1.5k tokens
SKILL.md length
527 words
Files
4 (incl. scripts, references, assets)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Execute integration tests validating component interactions and system integration.

  • Works in 7 steps: Identify integration boundaries to test → Set up test infrastructure → Write integration tests following these… → …
  • Performing specialized testing
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 3 more sections
  • Calls docker-compose

What it does

Running Integration Tests is an agent skill from jeremylongshore/tons-of-skills-marketplace. Execute integration tests validating component interactions and system integration. Use when performing specialized testing. Trigger with phrases like "run integration tests", "test integration", or "validate component interactions".

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts, reference files and assets (for example `assets/README.md`, `references/README.md` and `scripts/README.md`). Compatibility notes: Designed for Claude Code

It sits in Testing & QA, covering Integration testing. It works with Docker. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Performing specialized testing
  • With phrases like run integration tests
  • Test integration
  • Validate component interactions

Example prompts

  • “run integration tests”
  • “test integration”
  • “validate component interactions”
  • “/running-integration-tests”

Requirements

  • Python 3
  • Docker
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Grep, Glob, Bash(test:integration-*)

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Identify integration boundaries to test
  2. Set up test infrastructure
  3. Write integration tests following these patterns
  4. Manage test data isolation
  5. Handle asynchronous operations
  6. Run integration tests separately from unit tests
  7. Generate test results in JUnit XML format for CI reporting.

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Grep
    • Glob
    • Bash(test:integration-*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • docker-compose

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • testcontainers.com
    • docs.pytest.org
    • martinfowler.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Running Integration Tests loads about 1.5k tokens when it runs, and up to ~1.5k if it reads all its reference files. Until then it costs about 65 tokens; SKILL.md has 527 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 527 words, ~1,509 tokens.

Download SKILL.mdSave it as .claude/skills/running-integration-tests/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
running-integration-tests
description
Execute integration tests validating component interactions and system integration. Use when performing specialized testing. Trigger with phrases like "run integration tests", "test integration", or "validate component interactions".
allowed-tools
Read, Write, Edit, Grep, Glob, Bash(test:integration-*)
compatibility
Designed for Claude Code
version
1.22.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
testing, integration-tests

Integration Test Runner

Overview

Execute integration tests that validate interactions between multiple components, services, and external systems. Tests real database queries, API calls between services, message queue publishing/consuming, and file system operations without mocking the integration boundary.

Prerequisites

  • Integration test framework installed (Jest + Supertest, pytest, JUnit 5, or Go testing)
  • External services running (database, cache, message queue) via Docker Compose or Testcontainers
  • Database migrations applied and seed data loaded
  • Test configuration with connection strings pointing to test instances (not production)
  • Sufficient timeout settings (integration tests are slower than unit tests)

Instructions

  1. Identify integration boundaries to test:
    • API routes with database queries (controller-to-repository flow).
    • Service-to-service HTTP communication.
    • Message queue producers and consumers.
    • File upload/download with storage services.
    • Cache read/write operations (Redis, Memcached).
  2. Set up test infrastructure:
    • Start required services using docker-compose -f docker-compose.test.yml up -d.
    • Or use Testcontainers to programmatically start/stop containers per test suite.
    • Run database migrations against the test database.
    • Seed baseline data required by the test suite.
  3. Write integration tests following these patterns:
    • API integration: Send HTTP requests via Supertest and assert responses including headers, status, and body.
    • Database integration: Execute the service method and verify database state with direct queries.
    • Event integration: Publish a message and verify the consumer processes it correctly.
    • Use real implementations, not mocks, at the integration boundary.
  4. Manage test data isolation:
    • Wrap each test in a database transaction and roll back after assertion.
    • Or truncate tables in beforeEach and re-seed minimum required data.
    • Use unique identifiers per test to avoid collisions in shared databases.
  5. Handle asynchronous operations:
    • Poll for expected state changes with timeout (e.g., wait for queue consumer to process).
    • Use event listeners or callbacks to signal completion.
    • Set generous timeouts (10-30 seconds) for external service interactions.
  6. Run integration tests separately from unit tests:
    • Tag with @integration or place in a separate directory (tests/integration/).
    • Configure CI to run integration tests in a dedicated job with service containers.
  7. Generate test results in JUnit XML format for CI reporting.
Show full SKILL.md (195 more words)Show less

Output

  • Integration test files in tests/integration/ organized by feature
  • Docker Compose test configuration for service dependencies
  • Database seed and teardown scripts
  • JUnit XML test results for CI consumption
  • Integration test coverage report showing tested integration points

Error Handling

ErrorCauseSolution
Connection refused to databaseDatabase container not yet readyAdd wait-for-it.sh or health check polling before running tests; increase startup timeout
Foreign key constraint violationTest data inserted in wrong order or cleanup incompleteSeed data in dependency order; use cascading deletes in teardown; wrap in transactions
Flaky test due to race conditionAsync consumer has not processed the message yetUse polling with timeout instead of fixed sleep; add event completion callbacks
Test passes locally, fails in CICI uses different service versions or network configPin Docker image versions; verify environment variables match; check CI service container logs
Slow test suite (>5 minutes)Too many integration tests or insufficient parallelizationRun independent test suites in parallel CI jobs; use Testcontainers reuse mode; limit seed data

Examples

Supertest API integration test:

typescript
import request from 'supertest';
import { app } from '../src/app';
import { db } from '../src/database';

describe('POST /api/users', () => {
  beforeEach(async () => { await db.query('DELETE FROM users'); });
  afterAll(async () => { await db.end(); });

  it('creates a user and persists to database', async () => {
    const response = await request(app)
      .post('/api/users')
      .send({ name: 'Alice', email: 'alice@example.com' })
      .expect(201);  # HTTP 201 Created

    expect(response.body).toMatchObject({ name: 'Alice' });
    const row = await db.query('SELECT * FROM users WHERE email = $1', ['alice@example.com']);
    expect(row.rows).toHaveLength(1);
  });
});

pytest with database transaction rollback:

python
import pytest
from myapp.services import UserService

@pytest.fixture
def db_session(test_database):
    session = test_database.begin_nested()
    yield session
    session.rollback()

def test_create_user_persists_to_db(db_session):
    service = UserService(db_session)
    user = service.create(name="Alice", email="alice@test.com")
    assert user.id is not None
    found = db_session.query(User).filter_by(email="alice@test.com").one()
    assert found.name == "Alice"

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references, assets) in skills/.curated/running-integration-tests of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • assets/README.md
  • references/README.md
  • scripts/README.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Running Integration Tests next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Running Integration Tests compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Running Integration Tests this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.5kAutomated safety check: PassMIT
Remote Executor Integration Testsopeninterpreter/openinterpreter69k2 repos~842Automated safety check: PassApache-2.0
MongoDB Source Connector E2E Harnessairbytehq/airbyte22k—~1.9kAutomated safety check: PassCustom licence
Integration Tests for pRESTprest/prest4.6k—~1.1kAutomated safety check: PassMIT
Go Redis Client Test Runnerredis/go-redis22k—~786Automated safety check: PassBSD-2-Clause
Test Weave Router with Codexweave-os/router5.6k—~4.7kAutomated safety check: NotesApache-2.0

Similar skills

  • Remote Executor Integration Tests

    openinterpreter/openinterpreter

    Explains how to run agent integration tests against remote executors, using Docker for Linux or Wine for Windows, and how to opt tests in or skip them.

    69k GitHub starsUsed in 2 repos~842 tokens
    Testing & QAAuto-check passed
  • Official

    Starts a throwaway MongoDB 7.0 replica set and runs the Airbyte spec, check, discover and read commands against source-mongodb-v2 images for local end-to-end testing.

    22k GitHub stars~1.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Guides writing and reviewing pREST Docker-based integration tests so every HTTP request is explained by step comments or table-driven descriptions.

    4.6k GitHub stars~1.1k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Official

    Explains how to run go-redis tests: the Docker Compose stack, make targets, focusing a single Ginkgo spec, the e2e suite and the version environment variables.

    22k GitHub stars~786 tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Local test harness for the Weave router: a docker compose stack plus codex exec runs that confirm how Codex requests are routed, translated and marked.

    5.6k GitHub stars~4.7k tokensUpdated today
    Testing & QAAuto-check: notes
  • Official

    Starts a local PostgreSQL 16 container, loads SQL fixtures and runs the Airbyte spec, check, discover and read commands against a chosen source-postgres image.

    22k GitHub stars~2.5k tokensUpdated today
    Testing & QAAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated yesterday
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Running Integration Tests

What does Running Integration Tests do?

Execute integration tests validating component interactions and system integration. Running Integration Tests is an agent skill from jeremylongshore/tons-of-skills-marketplace. Execute integration tests validating component interactions and system integration.

When should I use Running Integration Tests?

Running Integration Tests fits situations like: performing specialized testing; with phrases like run integration tests; test integration; validate component interactions.

How do I install Running Integration Tests in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill running-integration-tests -a claude-code`. Or copy the skill folder (skills/.curated/running-integration-tests in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/running-integration-tests in your project. Claude Code loads it when a task matches its description.

How do I install Running Integration Tests in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill running-integration-tests -a codex`. Or copy the skill folder (skills/.curated/running-integration-tests in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/running-integration-tests in your project. Codex loads it when a task matches its description.

Can I use Running Integration Tests in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill running-integration-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/running-integration-tests, .gemini/skills/running-integration-tests, .github/skills/running-integration-tests and .opencode/skills/running-integration-tests in your project.

What does Running Integration Tests need to run?

Going by SKILL.md and its folder, Running Integration Tests needs the command-line tools its instructions call (docker-compose). Our summary lists: Python 3; Docker. Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Glob, Bash(test:integration-*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Running Integration Tests access the network?

SKILL.md names 4 domains. As links in the text: github.com, testcontainers.com, docs.pytest.org and martinfowler.com. This is read from the text; nothing was executed.

Is Running Integration Tests safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Running Integration Tests use?

Running Integration Tests is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Running Integration Tests use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 17 tokens, read only when the agent opens those files.

What are the alternatives to Running Integration Tests?

Skills that share tags, products or a category with Running Integration Tests: Remote Executor Integration Tests (openinterpreter/openinterpreter, 69k stars), MongoDB Source Connector E2E Harness (airbytehq/airbyte, 22k stars), Integration Tests for pREST (prest/prest, 4.6k stars) and Go Redis Client Test Runner (redis/go-redis, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Running Integration Tests?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.