tap-testcontainers

Community

Orchestrate container tests with Node-tap.

Authorfgiova
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a robust pattern for Node.js integration testing with Node-tap and Testcontainers, ensuring reliable container boot, lifecycle management, and environment sharing across test processes through a shared test-env.json and a localtest.ts environment loader.

Core Features & Use Cases

  • Architecture that uses tap before/after hooks to start and stop containers and a Ryuk reaper to clean up resources
  • Shared test-env.json for passing connection details and reaper info between processes
  • Reusable container runners (Redis, Postgres, MySQL, LocalStack) and a local test helper to load environment configuration

Quick Start

Run the tests with containers enabled, ensuring test-env.json is produced and loaded by localtest.ts

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: tap-testcontainers
Download link: https://github.com/fgiova/claude-marketplace/archive/main.zip#tap-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 471,000+ vetted skills library on demand.