Skip to content

Glossary: Terraform

Test

Also written: .tftest.hcl, tests, run block

A `.tftest.hcl` file in a `tests/` folder made of `run` blocks, each planning or applying with set inputs and checking `assert` conditions, run by `terraform test`.

Where the book teaches it

Related terms

terraform testMock provider