go-testing

SKILL.md

Go Testing Skill

Provides guidance and automation for Golang testing tasks in the MCPSpy project.

Testing Philosophy

  • Use require library for assertions that should stop test execution on failure
  • Use assert library for non-critical assertions where test should continue
  • Choose internal vs external package testing based on what needs to be tested
  • Test internal functions by placing test files in the same package (no _test suffix)
  • Avoid creating externally facing functions solely for testing purposes

When to Use This Skill

  • Running unit tests with go test
  • Writing new test files and test cases
  • Debugging and fixing failing tests
  • Implementing test fixtures and mocks
  • Improving test coverage for the MCPSpy project
Weekly Installs
14
GitHub Stars
498
First Seen
Jan 22, 2026
Installed on
claude-code9
gemini-cli8
opencode8
cursor8
codex8
github-copilot7