
Description
run-acceptance-tests is an agent skill that guides running acceptance tests for a Terraform provider. An acceptance test is a Go test function whose name starts with TestAcc. Acceptance tests create real infrastructure against the provider's live API, which can cost money, so the skill tells the agent to confirm that the configured credentials point at a test account before it runs anything. To run a focused test, the agent runs go test with a run filter for the test name and a timeout of 60 minutes, with the TF_ACC environment variable set to 1 and any other required settings. The skill applies when a user asks to run an acceptance test, or to run a test with the TestAcc prefix, or when a provider change needs to be verified against the real API. It keeps the steps to the test run itself, so the agent does not wander through the rest of the repository first. Install it with npx skills add https://github.com/hashicorp/agent-skills --skill run-acceptance-tests. The skill is part of the hashicorp/agent-skills repository on GitHub.…
Highlights
- Runs focused TestAcc acceptance tests
- Checks that credentials point at a test account first
- Sets TF_ACC and a 60-minute timeout
- Covers Terraform provider testing
- Install with npx skills add
Ratings & Reviews
No ratings yet
Be the first to rate run-acceptance-tests.
People also visit
hashicorp/run-acceptance-tests
Run acceptance tests for Terraform providers using Go's test runner
hashicorp/provider-test-patterns
Acceptance test patterns for Terraform providers using terraform-plugin-testing
hashicorp/terraform-test
Built-in testing framework for Terraform configurations with .tftest.hcl files

provider-test-patterns
Terraform provider acceptance test patterns using terraform-plugin-testing
run-acceptance-tests FAQ
What is an acceptance test here?
A Go test function with the prefix TestAcc, which creates real infrastructure through the provider's live API.
Why check credentials first?
The skill warns that acceptance tests may incur cost, so it asks the agent to confirm the credentials point at a test account.
What command does it run?
go test with a -run filter for the test name and -timeout 60m, with TF_ACC=1 set.
How do I install it?
Run npx skills add https://github.com/hashicorp/agent-skills --skill run-acceptance-tests.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best run-acceptance-tests alternatives?
Popular alternatives to run-acceptance-tests include hashicorp/run-acceptance-tests, hashicorp/provider-test-patterns and hashicorp/terraform-test. See all run-acceptance-tests alternatives











