github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/docs/_docs/01_getting-started/introduction.md (about) 1 --- 2 layout: collection-browser-doc 3 title: Introduction 4 category: getting-started 5 toc: true 6 excerpt: >- 7 Terratest provides a variety of helper functions and patterns for common infrastructure testing tasks. Learn more about Terratest basic usage. 8 tags: ["basic-usage"] 9 order: 100 10 nav_title: Documentation 11 nav_title_link: /docs/ 12 --- 13 14 ## Introduction 15 16 Terratest is a Go library that makes it easier to write automated tests for your infrastructure code. It provides a 17 variety of helper functions and patterns for common infrastructure testing tasks, including: 18 19 - Testing Terraform code 20 - Testing Packer templates 21 - Testing Docker images 22 - Executing commands on servers over SSH 23 - Working with AWS APIs 24 - Working with Azure APIs 25 - Working with GCP APIs 26 - Working with Kubernetes APIs 27 - Testing Helm Charts 28 - Making HTTP requests 29 - Running shell commands 30 - And much more 31 32 33 ## Watch: “How to test infrastructure code” 34 35 Yevgeniy Brikman talks about how to write automated tests for infrastructure code, including the code written for use with tools such as Terraform, Docker, Packer, and Kubernetes. Topics covered include: unit tests, integration tests, end-to-end tests, dependency injection, test parallelism, retries and error handling, static analysis, property testing and CI / CD for infrastructure code. 36 37 This presentation was recorded at QCon San Francisco 2019: https://qconsf.com/. 38 39 <iframe width="100%" height="450" allowfullscreen src="https://www.youtube.com/embed/xhHOW0EF5u8"></iframe> 40 41 ### Slides 42 43 Slides to the video can be found here: [Slides: How to test infrastructure code](https://www.slideshare.net/brikis98/how-to-test-infrastructure-code-automated-testing-for-terraform-kubernetes-docker-packer-and-more){:target="\_blank"}. 44 45 46 ## Gruntwork 47 48 Terratest was developed at [Gruntwork](https://gruntwork.io/) to help maintain the [Infrastructure as Code 49 Library](https://gruntwork.io/infrastructure-as-code-library/), which contains over 300,000 lines of code written 50 in Terraform, Go, Python, and Bash, and is used in production by hundreds of companies. 51 52 <div class="cb-post-cta"> 53 <span class="title">See how to get started with Terratest</span> 54 <a class="btn btn-primary" href="{{site.baseurl}}/docs/getting-started/quick-start/">Quick Start</a> 55 </div>