Skip to content

henriqueatila/golang-gin-best-practices / skills/golang-gin-testing

golang-gin-testing

Verified

Test Go Gin APIs with httptest, table-driven tests, testcontainers. Use when writing tests for Gin handlers, services, middleware, or setting up integration and e2e tests.

metadata.json

View on GitHub
{
  "version": "1.0.3",
  "organization": "henriqueatila",
  "date": "March 2026",
  "abstract": "Testing patterns for Go Gin REST APIs — unit tests, table-driven tests, benchmarks, fuzz tests, golden file snapshots, testcontainers integration, e2e flows, coverage thresholds, and race detection.",
  "references": [
    "https://gin-gonic.com/docs/",
    "https://pkg.go.dev/net/http/httptest",
    "https://golang.testcontainers.org/",
    "https://context7.com/websites/gin-gonic_en"
  ]
}
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall