LogoClawIndex
CasesSkillsAbout
LogoClawIndex

Testing - Golang Testing Standards for Unit Tests and Mocking

Standards for unit testing, table-driven tests, and mocking in Golang.

Tags

Updated: 2026-02-12
golangtestingtddmockingunit-tests

Capabilities

Write table-driven testsImplement mocking strategiesFollow TDD workflowUse testing package

Typical Inputs

Test filesGolang codeTesting keywords

Typical Outputs

Testing guidelinesCode recommendations

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

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.