terraform test command reference | Terraform | HashiCorp Developer

The `terraform test` command loads and executes Terraform testing files.