What problem does it solve? Writing consistent, reliable tests across Go microservices is hard: teams duplicate NATS setup helpers, write flaky async assertions with time.Sleep, and struggle to isolate port interfaces. This Skill provides canonical patterns for table-driven unit tests, testcontainers-based integration tests, embedded NATS messaging tests, and gomock-based port isolation. ## Core Features & Use Cases - Table-Driven Unit Tests: Standard Go test structure with t.Parallel() and subtests for exhaustive case coverage. - Integration Infrastructure: testcontainers-go for PostgreSQL, embedded NATS server with JetStream for messaging tests, and httptest for API Gateway handlers. - Mock Generation & Usage: gomock patterns for isolating port interfaces, plus fixture loading via runtime.Caller and benchmark templates with allocation reporting. - Use Case: When adding a new order service handler, use this Skill to write a JetStream QueueSubscribe test with the embedded NATS server, mock the repository with gomock, and enforce 80% coverage in CI. ## Quick Start Ask the AI to write table-driven unit tests and a testcontainers-based integration test for your Go service's repository and NATS message handlers.