Zum Inhalt springen
Kitbay
SkillOffiziellactive

run-acceptance-tests

MPL-2.0Aktualisiert am 4. Nov. 2026925GitHub-Sterne

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

Was der Skill vermittelt

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.

Funktionen

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