provider-run-acceptance-tests

Run TestAcc-prefixed Go acceptance tests against an AAP instance.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/hashi-demo-lab/terraform-provider-aap --skill provider-run-acceptance-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: provider-run-acceptance-tests
Source: https://github.com/hashi-demo-lab/terraform-provider-aap/tree/main/.claude/skills/provider-run-acceptance-tests
Command: npx skills add https://github.com/hashi-demo-lab/terraform-provider-aap --skill provider-run-acceptance-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps teams run acceptance tests for a Terraform provider, ensuring end-to-end validation before deployment.

Core Features & Use Cases

  • Demonstrates how to execute TestAcc-prefixed tests against a local or remote AAP instance.
  • Documents environment setup, diagnostics, and logging to streamline test runs.
  • Provides guidance for CI and local development workflows.

Quick Start

Run the Go test suite for acceptance tests with TF_ACC=1 against a configured AAP/AWX environment.

Frequently Asked Questions about provider-run-acceptance-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Terraform provider acceptance tests against an AAP instance?

Run Terraform provider acceptance tests by executing TestAcc-prefixed Go tests with TF_ACC=1 against a configured local or remote AAP instance to validate end-to-end behavior.

What is the TF_ACC environment variable used for in Go testing?

The TF_ACC environment variable enables acceptance tests in Go testing, allowing TestAcc-prefixed functions to execute against real infrastructure for production-like provider validation.

How do I collect logs and diagnose failures when running TestAcc tests?

Diagnose TestAcc test failures by enabling optional TF_LOG environment variables to collect diagnostic logs during Go test execution, streamlining troubleshooting and failure analysis.

Can I run Terraform provider acceptance tests in a local development workflow?

Yes, Terraform provider acceptance tests support both local development and CI workflows, executing TestAcc-prefixed Go tests against local or remote AAP environments with optional workspace persistence.

What are the limitations when running acceptance tests for a Terraform provider?

Acceptance tests require a configured AAP or AWX instance and proper environment setup; without TF_ACC enabled, TestAcc-prefixed Go tests will skip execution, limiting validation coverage.