Terratest
Input—per 1M tokens
Output—per 1M tokens
Context—tokens
WeightsClosed
About
Terratest is ranked #6 of 27 in infrastructure testing tools on Inferse. It runs on Linux. There is a free plan.
Compared on infrastructure testing tools
- IaC support
- Terraform, OpenTofu, Terragrunt, Packer, Helmterratest.gruntwork.io
- Config compliance
- Yesterratest.gruntwork.io
- Provisioning tests
- Yesterratest.gruntwork.io
- Deployed checks
- Yesterratest.gruntwork.io
- Policy as code
- Yesterratest.gruntwork.io
- Execution model
- localterratest.gruntwork.io
- Cloud support
- AWS, Azure, GCPterratest.gruntwork.io
Facts
- Purpose
- Terratest is a Go library with patterns and helper functions for testing infrastructure code.terratest.gruntwork.io · 2 Oct 2026
- Supported tools
- The site lists first-class support for Terraform, Packer, Docker, Kubernetes, AWS, GCP, and more.terratest.gruntwork.io · 2 Oct 2026
- Test workflow
- Terratest tests use Go’s testing framework to run infrastructure tools, validate deployed infrastructure, and undeploy it at the end.terratest.gruntwork.io · 2 Oct 2026
- Validation
- Built-in tools can validate infrastructure by making HTTP requests, API calls, and SSH connections.terratest.gruntwork.io · 2 Oct 2026
- Test types
- The documentation covers unit, integration, and end-to-end testing, as well as parallelism, retries, error handling, and static analysis.terratest.gruntwork.io · 2 Oct 2026
- Requirements
- The quick start requires Go version 1.26 or later and OpenTofu or Terraform for its examples.terratest.gruntwork.io · 2 Oct 2026
- Cloud support
- The site includes examples for AWS and GCP, and lists Azure support among its examples.terratest.gruntwork.io · 2 Oct 2026
- Open source
- Terratest is an open source project, and its code is released under the Apache 2.0 License.terratest.gruntwork.io · 2 Oct 2026
- Community support
- Users can ask questions in GitHub Discussions and report bugs or request improvements through GitHub Issues.terratest.gruntwork.io · 2 Oct 2026
- Commercial support
- Companies relying on Terratest in production can get commercial support directly from Gruntwork.terratest.gruntwork.io · 2 Oct 2026
- Resource cleanup
- The documentation recommends cleaning up after tests because Terratest can deploy real resources into real environments.terratest.gruntwork.io · 2 Oct 2026
- Maker
- The site identifies Terratest as built by Gruntwork.terratest.gruntwork.io · 2 Oct 2026
- Maker founding
- Gruntwork says the two companies that became Gruntwork merged in 2016.gruntwork.io · 2 Oct 2026
- What it does
- Terratest is a Go library for writing automated tests for infrastructure code.terratest.gruntwork.io · 3 Oct 2026
- Testing workflow
- Tests can deploy real infrastructure, validate it with HTTP requests, API calls, or SSH connections, and undeploy it at the end.terratest.gruntwork.io · 3 Oct 2026
- Infrastructure tools
- Terratest provides helpers for Terraform and OpenTofu, Packer, Docker, Kubernetes, and Helm.github.com · 3 Oct 2026
- Cloud integrations
- Its helpers include working with AWS, Azure, and GCP APIs.github.com · 3 Oct 2026
- Other helpers
- The library includes helpers for SSH commands, HTTP requests, and shell commands.github.com · 3 Oct 2026
- Requirements
- Terratest requires Go 1.26 or later; its Terraform helpers can use either the Terraform or OpenTofu binary.terratest.gruntwork.io · 3 Oct 2026
- License
- The Terratest code is released under the Apache 2.0 License.github.com · 3 Oct 2026
- Support
- Users can ask general questions in GitHub Discussions, report bugs or request improvements through GitHub Issues, and obtain commercial support from Gruntwork.terratest.gruntwork.io · 3 Oct 2026
- Version maintenance
- The v1 line receives security fixes only while v2 is in development.github.com · 3 Oct 2026
- Intended users
- Terratest is for teams testing infrastructure code, including code built with Terraform, Packer, Docker, and Kubernetes.terratest.gruntwork.io · 3 Oct 2026
Company
- Founded
- 2016terratest.gruntwork.io · 23 Sept 2026
Best Terratest alternatives
See all 12
7.2 AWS CloudFormation Free free plan, no paid price published Free plan
7.2 Chef InSpec Free free plan, no paid price published Free plan
6.8 CIS-CAT Pro Assessor $200/mo first paid tier
6.0 Conftest Free free plan, no paid price published Free plan
6.0 Sonobuoy See plans price on the maker's page
5.9 cfn-lint Free free plan, no paid price published Free plan Where it ranks on Inferse
Sources
- terratest.gruntwork.io· checked 2 Oct 2026
- terratest.gruntwork.io/docs/getting-started/quick-start/· checked 2 Oct 2026
- terratest.gruntwork.io/docs/· checked 2 Oct 2026
- terratest.gruntwork.io/docs/community/support/· checked 2 Oct 2026
- gruntwork.io/about· checked 2 Oct 2026
- github.com/gruntwork-io/terratest· checked 3 Oct 2026


