Testing - Golang Testing Standards for Unit Tests and Mocking
Standards for unit testing, table-driven tests, and mocking in Golang.
Tags
Updated: 2026-02-12Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write table-driven tests
- Implement mocking strategies
- Follow TDD workflow
- Use testing package
- Apply testify assertions
Inputs
- Test files
- Golang code
- Testing keywords
Outputs
- Testing guidelines
- Code recommendations
Requirements
- Golang development environment
- Access to testing frameworks
