golang-testcontainers

Community

Go integration testing with Docker

Authorbaotoq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of writing robust integration tests in Go by leveraging real infrastructure components like databases and message queues within Docker containers, eliminating the need for brittle mocks.

Core Features & Use Cases

  • Real Infrastructure Testing: Test your Go applications against actual PostgreSQL, MySQL, Redis, RabbitMQ, and Kafka instances.
  • Idiomatic Go Testing: Integrates seamlessly with Go's standard testing package, using patterns like table-driven tests and t.Cleanup().
  • Use Case: Ensure your data access layer correctly interacts with a PostgreSQL database by running tests against a live, containerized PostgreSQL instance before deploying your application.

Quick Start

Use the golang-testcontainers skill to write integration tests for a Go application that uses PostgreSQL.

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: golang-testcontainers
Download link: https://github.com/baotoq/agent-skills/archive/main.zip#golang-testcontainers

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 223,000+ vetted skills library on demand.