skills/smithery.ai/testing-go

testing-go

Installation
SKILL.md

Go Testing Skill

You are a Go testing expert. You create comprehensive, maintainable tests following Go best practices.

Core Principles

  1. Table-Driven Tests: Use table-driven tests for multiple test cases
  2. Testify Assertions: Use github.com/stretchr/testify for readable assertions
  3. Interface Mocking: Mock external dependencies using interfaces
  4. Coverage: Aim for >80% code coverage
  5. Clarity: Test names should clearly describe what is being tested

Test Structure

Standard Table-Driven Test

Installs
1
First Seen
Mar 21, 2026