configure-integration-tests
БесплатноБез исполняемых скриптовНе проверенIntegration testing: Supertest, pytest, Testcontainers. Use when setting up integration tests, creating docker-compose.test.yml, or separating from unit tests.
от laurigates★ 61 звезда на GitHubОб этом скилле
/configure:integration-tests
Check and configure integration testing infrastructure for testing service interactions, databases, and external dependencies.
When to Use This Skill
| Use this skill when... | Use another approach when... |
|---|---|
| Setting up integration testing infrastructure with Supertest, pytest, or Testcontainers | Writing individual integration test cases for specific endpoints (use api-plugin:api-testing) |
| Creating docker-compose.test.yml for local test service containers | Running existing integration tests (bun test, pytest -m integration) |
| Auditing integration test setup for completeness (fixtures, factories, CI) | Configuring unit test runners (/configure:tests instead) |
| Adding integration test jobs to GitHub Actions with service containers | Debugging a specific failing integration test |
| Separating integration tests from unit tests in project structure | Setting up API contract testing (/configure:api-tests instead) |
Context
- Project root: !
pwd - Package files: !
find . -maxdepth 1 \( -name 'package.json' -o -name 'pyproject.toml' -o -name 'Cargo.toml' -o -name 'go.mod' \) - Integration tests dir: !
find . -path '*/tests/*' -maxdepth 2 -type d -name 'integration' - Docker compose test: !
find . -maxdepth 1 -name 'docker-compose.test.yml' - Vitest integration config: !
find . -maxdepth 1 -name 'vitest.integration.config.*' - Supertest dep: !
find . -maxdepth 1 -name 'package.json' -exec grep -l 'supertest' {} + - Testcontainers dep: !
find . -maxdepth 1 \( -name package.json -o -name pyproject.toml \) -exec grep -l 'testcontainers' {} + - Project standards: !
find . -maxdepth 1 -name '.project-standards.yaml'
Parameters
Parse from command arguments:
--check-only: Report compliance status without modifications (CI/CD mode)--fix: Apply fixes automatically without prompting--framework <supertest|pytest|testcontainers>: Override framework detection
Integration Testing Stacks:
- JavaScript/TypeScript: Supertest + Testcontainers
- Python: pytest + testcontainers-python + httpx
- Rust: cargo test with
#[ignore]+ testcontainers-rs - Go: testing + testcontainers-go
Key Difference from Unit Tests:
- Integration tests interact with real databases, APIs, and services
- They test component boundaries and data flow
- They typically require test fixtures and cleanup
Execution
Execute this integration testing compliance check:
Step 1: Detect existing integration testing infrastructure
Check for these indicators:
| Indicator | Component | Status |
|---|---|---|
tests/integration/ directory |
Integration tests | Present |
testcontainers in dependencies |
Container testing | Configured |
supertest in package.json |
HTTP testing | Configured |
docker-compose.test.yml |
Test services | Present |
pytest.ini with integration marker |
pytest integration | Configured |
Step 2: Analyze current state
Check for complete integration testing setup:
Test Organization:
-
tests/integration/directory exists - Integration tests separated from unit tests
- Test fixtures and factories present
- Database seeding/migration scripts
JavaScript/TypeScript (Supertest):
-
supertestinstalled -
@testcontainers/postgresqlor similar installed - Test database configuration
- API endpoint tests present
- Authentication test helpers
Python (pytest + testcontainers):
-
testcontainersinstalled -
httpxorrequestsfor HTTP testing -
pytest-asynciofor async tests -
integrationmarker defined - Database fixtures in
conftest.py
Container Infrastructure:
-
docker-compose.test.ymlexists - Test database container defined
- Redis/cache container (if needed)
- Network isolation configured
Step 3: Generate compliance report
Print a formatted compliance report:
Integration Testing Compliance Report
======================================
Project: [name]
Language: [TypeScript | Python | Rust | Go]
Test Organization:
Integration directory tests/integration/ [EXISTS | MISSING]
Separated from unit not in src/ [CORRECT | MIXED]
Test fixtures tests/fixtures/ [EXISTS | MISSING]
Database seeds tests/seeds/ [EXISTS | N/A]
Framework Setup:
HTTP testing supertest/httpx [INSTALLED | MISSING]
Container testing testcontainers [INSTALLED | MISSING]
Async support pytest-asyncio [INSTALLED | N/A]
Infrastructure:
docker-compose.test.yml test services [EXISTS | MISSING]
Test database PostgreSQL/SQLite [CONFIGURED | MISSING]
Service isolation network config [CONFIGURED | MISSING]
CI/CD Integration:
I
Установить configure-integration-tests в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
GlobGrepReadWriteEditBash(find *)Bash(bun add *)Bash(uv add *)Bash(bun test *)Bash(pytest *)Bash(docker compose -f docker-compose.test.yml up *)AskUserQuestionTodoWriteВложенные файлы
FAQ
Что делает скилл configure-integration-tests?
Integration testing: Supertest, pytest, Testcontainers. Use when setting up integration tests, creating docker-compose.test.yml, or separating from unit tests.
Как установить скилл configure-integration-tests?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл configure-integration-tests запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic