gin-api-testing-playbook
Testing & QualityTests Go Gin APIs layer by layer: handler contracts over httptest, service rules against fakes, middleware and JWT behavior, repository SQL on an isolated PostgreSQL container, plus benchmarks, fuzzing, snapshot review, and CI test tiers. Use when the user says "write tests for my Gin handler", "set up testcontainers for this Go API", "test the JWT middleware", "add table-driven tests", or "cover this endpoint with integration tests". Not for testing against production databases, non-Go HTTP frameworks, or rubber-stamping snapshot updates just to make a failing test pass.
- Version
- v1.0.1
- Size
- 33 KB
- Updated
- 2026-10-06
$ skilvault read --manual gin-api-testing-playbookYour client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.