Skip to main content

run-acceptance-tests

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`, when a test fails with missing environment variables, or when diagnosing a failing or suspiciously passing acceptance test.

HashiCorpTerraformMPL-2.0

When run-acceptance-tests runs

Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /run-acceptance-tests in Claude Code or $run-acceptance-tests in Codex.

The description says when to use it:

Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`, when a test fails with missing environment variables, or when diagnosing a failing or suspiciously passing acceptance test.

Install run-acceptance-tests

Claude Code

Copy the run-acceptance-tests folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.

git clone --depth 1 https://github.com/hashicorp/agent-skills.git /tmp/hashicorp-agent-skills
mkdir -p .claude/skills
cp -r /tmp/hashicorp-agent-skills/plugins/terraform/skills/run-acceptance-tests .claude/skills/

Codex

Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if run-acceptance-tests does not appear.

git clone --depth 1 https://github.com/hashicorp/agent-skills.git /tmp/hashicorp-agent-skills
mkdir -p .agents/skills
cp -r /tmp/hashicorp-agent-skills/plugins/terraform/skills/run-acceptance-tests .agents/skills/

Treq

Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for run-acceptance-tests and choose Install….

Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.

Files

run-acceptance-tests ships 1 file, 3.0 KB in total. Select a file to load it from GitHub.

SKILL.md3.0 KBView on GitHub ↗

All skills by HashiCorp