Giverny

Provider Test Patterns

Terraform provider acceptance test patterns using terraform-plugin-testing with the Plugin Framework. Covers test structure, TestCase/TestStep fields, ConfigStateChecks with…

by hashicorp★ 944Testing & browsersOfficial

What Provider Test Patterns does

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, or debugging provider acceptance tests, including questions about statecheck, plancheck, TestCheck

How to install Provider Test Patterns in Claude Code

Giverny gives you a ready prompt with the exact install command from hashicorp/agent-skills. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone hashicorp/agent-skills and copy the plugins/terraform/skills/provider-test-patterns folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Provider Test Patterns on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the provider-test-patterns skill on my current project.”

More Claude skills for testing & browsers