Skip to content
Kitbay
SkillOfficialactive

run-acceptance-tests

MPL-2.0Updated on Nov 4, 2026925GitHub stars

A short HashiCorp skill for running a Terraform provider's acceptance tests, the Go tests whose names start with TestAcc.

What the skill teaches

A short HashiCorp skill for running a Terraform provider's acceptance tests, the Go tests whose names start with TestAcc. It warns that these tests create real infrastructure through the provider's API and may cost money, so the agent first confirms the credentials point at a test account. It then runs a focused test with go test, TF_ACC set and a long timeout, and helps diagnose tests that fail because of missing environment variables or that pass for the wrong reason.

Capabilities

  • Run a single provider acceptance test
  • Set the environment variables acceptance tests need
  • Diagnose failing or falsely passing tests