Provider Acceptance Test Patterns
أنماط اختبارات القبول لمزودات Terraform.
Terraform provider acceptance test patterns using terraform-plugin-testing with the Plugin Framework. Covers test structure, TestCase/TestStep fields, ConfigStateChecks with custom statecheck.StateCheck implementations, plan checks, CompareValue for cross-step assertions, config helpers, import testing with ImportStateKind, sweepers, and scenario patterns (basic, update, disappears, validation, regression), and ephemeral resource testing with the echoprovider package. Use when writing, reviewing
Install
npx skills add hashicorp/agent-skills --skill provider-test-patternsWorks with
claude-code (native), claude (native), codex (native), chatgpt (native), gemini-cli (native), cursor (native), copilot (native), opencode (native), amp (native), roo (native), kiro (native), goose (native), junie (native), trae (native), cline (compatible), continue (compatible), antigravity (compatible), windsurf (compatible), augment (compatible), qwen-code (compatible)
This item's license does not let Skilo republish its content, so only its description and a link to the source are shown.
Source and license
- Source
- HashiCorp Agent Skills
- Original
- hashicorp/agent-skills/plugins/terraform/skills/provider-test-patterns/SKILL.md
- License
- MPL-2.0