managing-test-environments
Installation
SKILL.md
Test Environment Manager
Overview
Provision, configure, and manage isolated test environments for reliable test execution. Supports Docker Compose environments, Testcontainers, local service stacks, and ephemeral CI environments.
Prerequisites
- Docker and Docker Compose installed (for containerized environments)
- Testcontainers library installed if using programmatic container management
- Database client tools (psql, mysql, mongosh) for seed data operations
- Environment variable management via
.envfiles or secrets manager - Sufficient disk space and memory for running service containers
Instructions
- Read the project's existing configuration files (
docker-compose.yml,.env.test,jest.config.*,pytest.ini) to understand current environment setup. - Inventory all external dependencies the test suite requires (databases, message queues, cache servers, third-party API stubs).
- Create or update a
docker-compose.test.ymldefining isolated service containers:- Assign non-conflicting ports to avoid collisions with development services.
Related skills