managing-test-environments
This skill enables Claude to manage isolated test environments using Docker Compose, Testcontainers, and environment variables. It is used to create consistent, reproducible testing environments for software projects. Claude should use this skill when the user needs to set up a
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
This skill enables Claude to manage isolated test environments using Docker Compose, Testcontainers, and environment variables. It is used to create consistent, reproducible testing environments for software projects. Claude should use this skill when the user needs to set up a test environment with specific configurations, manage Docker Compose files for test infrastructure, set up programmatic container management with Testcontainers, manage environment variables for tests, or ensure cleanup after tests. Trigger terms include \
How to use
Zainstaluj umiejętność w swoim środowisku Claude'a, dodając katalog skill-adapter do konfiguracji wtyczek.
Wyzwól umiejętność, pisząc do Claude'a zapytanie zawierające słowa kluczowe takie jak "test environment", "docker compose", "testcontainers", "environment variables" lub "isolated environment".
Opisz wymagania dla swojego środowiska testowego — na przykład "Skonfiguruj środowisko testowe z bazą PostgreSQL i cache'em Redis za pomocą Docker Compose".
Claude wygeneruje plik docker-compose.yml definiujący wszystkie potrzebne usługi (bazy danych, cache'e, kolejki wiadomości) oraz skonfiguruje zmienne środowiskowe wymagane przez testy.
Jeśli potrzebujesz programowego zarządzania kontenerami, Claude skonfiguruje Testcontainers do dynamicznego tworzenia i zarządzania infrastrukturą testową.
Po zakończeniu testów umiejętność automatycznie zarządza czyszczeniem zasobów i zamykaniem kontenerów, aby uniknąć pozostawiania uruchomionych procesów.