Toolverse
All skills

terraform-test

by hashicorp

Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
hashicorp
Category
Testing
GitHub stars
893

About this skill

Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.

Related skills