LogoClawIndex
CasesSkillsAbout
LogoClawIndex

go-tests - Go test patterns for Terraform provider

Provides Go test patterns using table-driven tests, the Expectation pattern, and cmp.Diff for Terraform provider code.

Tags

Updated: 2026-09-22

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Write Go unit tests
  • Implement table-driven tests
  • Assert with cmp.Diff
  • Write Terraform acceptance tests
  • Avoid timing-based tests
  • Verify test branch coverage

Inputs

  • Go source code
  • Test files
  • Terraform provider code

Outputs

  • Go test files
  • Unit test cases
  • Acceptance test cases

Requirements

  • Go testing package
  • google/go-cmp package
  • Terraform Plugin Testing framework

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.
go
testing
terraform
unit-tests
acceptance-tests
Write Go unit tests
Implement table-driven tests
Assert with cmp.Diff
Write Terraform acceptance tests
Go source code
Test files
Terraform provider code
Go test files
Unit test cases
Acceptance test cases