terraform/provider-development/skills/run-acceptance-tests/SKILL.md
Guide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`.
npx skillsauth add lidge-jun/cli-jaw-skills run-acceptance-testsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
An acceptance test is a Go test function with the prefix TestAcc.
To run a focused acceptance test named TestAccFeatureHappyPath:
go test -run=TestAccFeatureHappyPath with TF_ACC=1.
Default to non-verbose output.To diagnose a failing test, apply these options cumulatively (each includes the previous):
-count=1 to bypass the Go test cache.-v for verbose output.TF_LOG=debug for debug-level logging.TF_ACC_WORKING_DIR_PERSIST=1 to preserve the Terraform workspace for
inspection.A passing test may be a false negative. To "flip" a passing test:
tools
Use only on the Codex CLI for native image generation or image editing without an API key. Save final PNG files under ~/.cli-jaw/uploads, report web-ready absolute-path markdown, and send to Telegram or Discord only when explicitly requested.
tools
Ranked repository structure map via `cli-jaw map`. Use for codebase overview, structure map, symbol overview, unfamiliar codebase exploration, architecture orientation. Triggers: repo map, structure map, codebase overview, 와꾸, project structure, unfamiliar code.
tools
cli-jaw Design workspace: create, preview, run, and export design pages from the right sidebar. Covers panel UX, direct-write workflow, artifact lifecycle, wireframe generation, design system, and Open Design adapter.
development
MUST USE for infrastructure and delivery work — container builds, deploy pipelines, Kubernetes, Infrastructure as Code, SRE foundations, edge/serverless, ML infrastructure. Triggers: Dockerfile, K8s manifests, CI/CD pipeline, Terraform/IaC, release/deploy, devops/infra/deploy or release_cd task_tags.