Browse the Repo

file-type-icon.circleci
file-type-icon.github
file-type-iconcmd
file-type-icondocs
file-type-iconexamples
file-type-iconmodules
file-type-icontest-docker-images
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE
file-type-iconNOTICE
file-type-iconREADME.md
file-type-iconREFACTOR.md
file-type-icongo.mod
file-type-icongo.sum

Browse the Repo

file-type-icon.circleci
file-type-icon.github
file-type-iconcmd
file-type-icondocs
file-type-iconexamples
file-type-iconmodules
file-type-icontest-docker-images
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE
file-type-iconNOTICE
file-type-iconREADME.md
file-type-iconREFACTOR.md
file-type-icongo.mod
file-type-icongo.sum
Terratest

Terratest

A Go library that makes it easier to write automated tests for your infrastructure code.

Code Preview

Preview the Code

mobile file icon

README.md

down

Terratest

Maintained by Gruntwork.io CircleCI Go Report Card go.dev reference go.mod version

Terratest is a Go library that makes it easier to write automated tests for your infrastructure code. It provides a variety of helper functions and patterns for common infrastructure testing tasks, including:

  • Testing Terraform code
  • Testing Packer templates
  • Testing Docker images
  • Executing commands on servers over SSH
  • Working with AWS APIs
  • Working with Azure APIs
  • Working with GCP APIs
  • Working with Kubernetes APIs
  • Testing Helm Charts
  • Making HTTP requests
  • Running shell commands
  • And much more

Please see the following for more info:

License

This code is released under the Apache 2.0 License. Please see LICENSE and NOTICE for more details.

Copyright © 2020 Gruntwork, Inc.

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?