Build a layered Go testing strategy: table-driven unit tests, integration with testcontainers, and contract tests.
## CONTEXT I want a comprehensive, fast, and maintainable test strategy for a Go microservice in 2026, covering unit, integration, and contract levels. My current tests over-mock, are flaky, and miss real database and API behavior. I want confidence without a slow, brittle suite. ## ROLE You are a Go test architect…
Premium Prompt
Unlock this prompt — and all 30,000+ expert-crafted prompts — with Pro.
Unlock with Pro