gruntwork-io/terratest
Terratest is a Go library that makes it easier to write automated tests for your infrastructure code. observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 99
- Release rhythm 78
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 47
- age_days: 3834
- days_rel: 67
- days_push: 8
- n_releases_24m: 14
Adoption not part of the score
7943 stars · 1372 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Terratest is a Go library that makes it easier to write automated tests for infrastructure code such as Terraform, Packer, Docker, Kubernetes, and Helm. It deploys real infrastructure in real environments, validates it via HTTP requests, API calls, and SSH, then tears it down.
Use cases
- test terraform modules with automated go tests
- verify packer-built images work correctly
- integration test kubernetes and helm deployments
- validate aws/gcp/azure infrastructure after deployment
- run end-to-end tests against docker images
- ssh into servers to verify configuration during tests
When to choose
- you write Terraform/OpenTofu, Packer, Docker, or Kubernetes infrastructure and want real end-to-end validation
- you prefer writing tests in Go and running them with go test
- you need helpers for cloud provider APIs (AWS, Azure, GCP) in tests
When to avoid
- you only need fast unit tests without deploying real infrastructure
- you want a lightweight linter or static analysis tool for IaC
- your team does not use Go and cannot maintain Go test code
Facets
library · maturity stable
testing e2e-testing infrastructure-as-code http-client ssh infrastructure-as-code testing cloud-computing go cross-platform cloud terraform packer helm opentofu terragrunt infrastructure-testing integration-testing gcp azure devops containers docker kubernetes
6 sources
- readme: https://github.com/gruntwork-io/terratest · fetched 2026-08-28 · cd66329703c9
- homepage: https://terratest.gruntwork.io/ · fetched 2026-08-29 · 49aaaed7f07e
- site_page: https://terratest.gruntwork.io/docs/getting-started/quick-start · fetched 2026-08-29 · 1e71d493a67d
- site_page: https://terratest.gruntwork.io/docs · fetched 2026-08-29 · de5a342a4d9c
- site_page: https://terratest.gruntwork.io/docs/getting-started/introduction · fetched 2026-08-29 · f23ef6efb5d0
- site_page: https://terratest.gruntwork.io/docs/community/support · fetched 2026-08-29 · 626233bdfae0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gruntwork-io/terratest | main | 92 |
For agents
markdown · JSON · MCP: product_card(name="gruntwork-io/terratest")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem