This skill enables Claude to run and manage integration test suites. It automates environment setup, database seeding, service orchestration, and cleanup. Use this skill when the user asks to "run integration tests", "execute integration tests", or any command that implies running integration tests for a project, including specifying particular test suites or options like code coverage. It is triggered by phrases such as "/run-integration", "/rit", or requests mentioning "integration tests". The plugin handles database creation, migrations, seeding, and dependent service management.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
skills listSkill Instructions
name: Running Integration Tests description: | This skill enables Claude to run and manage integration test suites. It automates environment setup, database seeding, service orchestration, and cleanup. Use this skill when the user asks to "run integration tests", "execute integration tests", or any command that implies running integration tests for a project, including specifying particular test suites or options like code coverage. It is triggered by phrases such as "/run-integration", "/rit", or requests mentioning "integration tests". The plugin handles database creation, migrations, seeding, and dependent service management.
Overview
This skill empowers Claude to execute comprehensive integration tests, ensuring seamless interactions between various system components. It automates the often complex setup and teardown processes, providing reliable and repeatable test runs.
How It Works
- Environment Preparation: The plugin sets up the test environment, including creating/resetting databases, running migrations, and seeding test data.
- Test Execution: The plugin executes the integration test suites, capturing detailed logs and reporting progress.
- Cleanup: After the tests, the plugin cleans up the environment, dropping the test database, stopping services, and removing temporary files to prevent test pollution.
When to Use This Skill
This skill activates when you need to:
- Run all integration tests for a project.
- Run a specific integration test suite (e.g., "API tests").
- Run integration tests with code coverage analysis.
Examples
Example 1: Running All Integration Tests
User request: "/run-integration"
The skill will:
- Prepare the test environment (database, services).
- Execute all integration test suites defined in the project.
- Generate a report with pass/fail counts and coverage metrics.
- Clean up the test environment.
Example 2: Running a Specific Test Suite
User request: "/run-integration api"
The skill will:
- Prepare the test environment.
- Execute only the "api" integration test suite.
- Generate a report specific to the "api" suite.
- Clean up the test environment.
Best Practices
- Configuration: Ensure test configurations are properly set up in
test/integration/config.json,.env.test, or related files. - Dependencies: Define all necessary services and dependencies in the test environment configuration.
- Test Design: Write focused integration tests that verify specific interactions between components.
Integration
This skill works seamlessly with other plugins by ensuring a clean and isolated test environment. It avoids conflicts with other processes and provides reliable results.
More by jeremylongshore
View allRabbitmq Queue Setup - Auto-activating skill for Backend Development. Triggers on: rabbitmq queue setup, rabbitmq queue setup Part of the Backend Development skill category.
evaluating-machine-learning-models: This skill allows Claude to evaluate machine learning models using a comprehensive suite of metrics. It should be used when the user requests model performance analysis, validation, or testing. Claude can use this skill to assess model accuracy, precision, recall, F1-score, and other relevant metrics. Trigger this skill when the user mentions "evaluate model", "model performance", "testing metrics", "validation results", or requests a comprehensive "model evaluation".
building-neural-networks: This skill allows Claude to construct and configure neural network architectures using the neural-network-builder plugin. It should be used when the user requests the creation of a new neural network, modification of an existing one, or assistance with defining the layers, parameters, and training process. The skill is triggered by requests involving terms like "build a neural network," "define network architecture," "configure layers," or specific mentions of neural network types (e.g., "CNN," "RNN," "transformer").
Oauth Callback Handler - Auto-activating skill for API Integration. Triggers on: oauth callback handler, oauth callback handler Part of the API Integration skill category.
