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`.
Install with Tessl CLI
npx tessl i github:hashicorp/agent-skills --skill run-acceptance-testsOverall
score
89%
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillEvaluation — 100%
↑ 2.17xAgent success when using this skill
Validation for skill structure
Basic acceptance test execution with TF_ACC and focused run
TF_ACC=1 set
100%
100%
Focused run flag
100%
100%
Non-verbose default
0%
100%
Correct go test invocation
100%
100%
Progressive debugging with no-cache rerun and verbose output
Step 1 uses count flag
0%
100%
Step 2 adds verbose
0%
100%
Cumulative flags
0%
100%
Correct ordering
0%
100%
TF_ACC preserved
100%
100%
False negative flip test pattern
Edits TestCheckFunc value
0%
100%
Expects test to fail
100%
100%
Undoes edit after confirmation
100%
100%
Reports flip outcome
100%
100%
Workspace persistence debugging step and full escalation
Includes workspace persistence
0%
100%
Workspace persist is last step
0%
100%
All four steps present
50%
100%
Final command is cumulative
25%
100%
TestAcc prefix convention and acceptance test identification
Identifies TestAcc functions
100%
100%
Uses TF_ACC=1
0%
100%
Uses -run with regex
100%
100%
Non-verbose by default
0%
100%
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.