terraform-acc-test

Installation
SKILL.md

Terraform Acc Test

Overview

Run Terraform provider acceptance tests with the repository's test environment loaded first. Prefer the bundled runner because it locates the requested test function with rg before choosing the Go package.

Workflow

  1. Check the current repository and confirm the requested test pattern.
  2. Locate the test function before running Go tests: rg -n "func[[:space:]]+TestName[[:space:]]*\\(" --glob '*_test.go' .
  3. Use the containing directory as the Go package unless the user explicitly provided --package.
  4. Load .env.test from the repo root. If only .evn.test exists, use it and treat the spelling as intentional.
  5. Run the test with TF_ACC=1, go test -count=1, verbose output, and a long timeout.
  6. Keep the process open until it exits. Report the located package, command, pass/fail result, and the relevant failure lines if it fails.

Quick Start

From the repository root:

Installs
1
GitHub Stars
17
First Seen
Jun 23, 2026
terraform-acc-test — zilliztech/terraform-provider-zillizcloud