All courses

Terratest

A standalone path through Terratest, the Go library for testing infrastructure as code by actually deploying it and asserting on the result. Beginner covers why infra needs testing, the deploy-assert-destroy pattern, your first Terraform test, and the module toolkit. Intermediate builds real suites: assertions and retries, Kubernetes and Helm tests, test stages and parallelism, and fixtures. Advanced goes deep: testing strategy and the pyramid, cost and safety, CI integration, and the testing landscape (kitchen-terraform, native tests, Checkov). Real Go and CLI output throughout; each level ends with a self-test feeding a rotating final exam.

Advanced3 sections · 12 lessons · ~5h total · 12-question self-test

Progress is saved in this browser only — no account required.

Final exam
Test yourself on everything
12 questions drawn from all 3 sections — every answer explained as you pick.
Start final exam