go-testcontainers-setup

Community

Simplify setting up integration testing environments with containers.

AuthorPremModhaOfficial
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the creation of reliable, reproducible integration testing environments by providing standardized test infrastructure setup code.

Core Features & Use Cases

  • Containerized Database Setup: Easily initialize PostgreSQL containers for testing with migration support.
  • Embedded NATS JetStream: Use in-process NATS servers for fast messaging tests without Docker overhead.
  • Shared TestMain: Facilitate container reuse across multiple tests in a package to improve efficiency.
  • Per-Tenant Isolation: Provision isolated schemas per tenant to simulate production multi-tenant environments.
  • Common Mistakes Avoidance: Includes patterns to prevent resource leaks, port conflicts, and ensuring container readiness.

Quick Start

Import the setup functions to initialize a PostgreSQL container, start an embedded NATS server, or create per-tenant databases for your integration tests.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: go-testcontainers-setup
Download link: https://github.com/PremModhaOfficial/sdk-pipeline/archive/main.zip#go-testcontainers-setup

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.