Skip to content
R

run-acceptance-tests

Guide for running acceptance tests for a Terraform provider

by hashicorpFree

#7403in AI Skills
0In stores

Description

run-acceptance-tests is an agent skill that guides running acceptance tests for a Terraform provider. An acceptance test is a Go test functi…

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

H

hashicorp/run-acceptance-tests

Run acceptance tests for Terraform providers using Go's test runner

AI Skills
Get
H

hashicorp/provider-test-patterns

Acceptance test patterns for Terraform providers using terraform-plugin-testing

AI Skills
Get
H

hashicorp/terraform-test

Built-in testing framework for Terraform configurations with .tftest.hcl files

AI Skills
Get
T

terraform-test

Comprehensive guide for writing and running Terraform tests

AI Skills
Get
P

provider-test-patterns

Terraform provider acceptance test patterns using terraform-plugin-testing

AI Skills
Get
A

agent-tester

Agent skill for tester - invoke with $agent-tester

AI Skills
Get

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

Developer Stuff

Badges