provider-test-patterns
A HashiCorp skill with patterns for Terraform provider acceptance tests written with terraform-plugin-testing and the Plugin Framework.
Was der Skill vermittelt
A HashiCorp skill with patterns for Terraform provider acceptance tests written with terraform-plugin-testing and the Plugin Framework. It covers test case and step fields, state checks including custom ones, plan checks, comparing values across steps, configuration helpers, import testing, sweepers for leftover resources, common scenarios such as basic, update, disappears, validation and regression tests, and testing ephemeral resources with the echo provider. Reference files go deeper on checks and sweepers.
Funktionen
- Structure provider acceptance tests
- Use state checks and plan checks
- Test resource import
- Write sweepers for leftover test resources
- Test ephemeral resources
Überblick
- Herausgeber
- HashiCorp
- Tool
- Terraform
Installation
- Führe diesen Befehl aus, um ihn zu Beliebiger Client hinzuzufügen:
npx skills add hashicorp/agent-skills/plugins/terraform/skills/provider-test-patterns
Was enthalten ist
- references/checks.md
- references/ephemeral.md
- references/sweepers.md
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | Terraform | |
| Herausgeber | HashiCorp | Quelle |
| Offizieller Status | Offiziellpublished in HashiCorp's own GitHub organisation; contributions restricted to HashiCorp-internal contributors | Quelle |
| Status | active | Quelle |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | MPL-2.0 | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 4. Nov. 2026925 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository |
Quellen
- Skill-Datei (SKILL.md)github.com/hashicorp/agent-skills10. Nov. 2026
- README (README.md)github.com/hashicorp/agent-skills12. Nov. 2026
- Lizenzdatei (LICENSE)github.com/hashicorp/agent-skills · Belegt: Lizenz12. Nov. 2026
- GitHub-Repositorygithub.com/hashicorp/agent-skills · Belegt: Offizieller Status, Herausgeber, Aktivität, Lizenz11. Nov. 2026
- Ordner im Repository (provider-test-patterns)github.com/hashicorp/agent-skills · Belegt: Enthält Skripte10. Nov. 2026
- Datei im Repository (SKILLS.md)github.com/hashicorp/agent-skills · Belegt: Status12. Nov. 2026