Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    JamesPrial

    go-testing

    JamesPrial/go-testing
    Coding
    2
    2 installs

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Go testing patterns. Routes to specific patterns.

    SKILL.md

    Testing

    Route by Pattern

    • Table-driven tests → see table/
    • Subtests with t.Run → see subtests/
    • Test helpers → see helpers/
    • Benchmarks → see benchmarks/

    Quick Check

    • Tests named Test_Function_Scenario
    • Table tests for >2 cases
    • Helpers call t.Helper()
    • Parallel tests capture loop vars

    Common Patterns

    Basic test structure:

    func Test_Function_Scenario(t *testing.T) {
        // Arrange
        input := "test"
    
        // Act
        result := Function(input)
    
        // Assert
        if result != expected {
            t.Errorf("got %v, want %v", result, expected)
        }
    }
    
    Recommended Servers
    Postman
    Postman
    Vercel Grep
    Vercel Grep
    Prisma
    Prisma
    Repository
    jamesprial/claudefiles
    Files