run-acceptance-tests

Official

Run Terraform provider acceptance tests reliably.

Authorhashicorp
Version1.0.0
Installs0

System Documentation

## What problem does it solve?

Acceptance testing for Terraform providers can be slow and error-prone. This Skill standardizes how to run focused acceptance tests, diagnose failures, and manage the test environment to accelerate provider validation.

## Core Features & Use Cases

  • Focused test execution using go test -run with TestAcc prefixes to target specific acceptance tests.
  • Guided diagnostic workflow with incremental options: -count=1 to avoid caching, -v for verbose output, TF_LOG=debug for debugging, and TF_ACC_WORKING_DIR_PERSIST to persist the workspace.
  • Environment setup and usage guidance for TF_ACC, TF_LOG, and related variables during Terraform provider acceptance testing.

### Quick Start

Examples:

  • go test -run=TestAccFeatureHappyPath TF_ACC=1
  • go test -run=TestAccFeatureHappyPath -v TF_ACC=1

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: run-acceptance-tests
Download link: https://github.com/hashicorp/agent-skills/archive/main.zip#run-acceptance-tests

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.