The following examples use terraform to deploy things on azure and use terratest to check whether the infrastructure works properly. For more information, please read reference and see details in each example. Any issues and pull request encouraged.
Use terraform azure module "compute" to deploy one or more virtual machines on azure. Then use terratest to ssh to virtual machines.
Use terraform azure resources or module "database" to deploy a database on azure. Then use terratest to connect to the database.
Use resources from terraform azure module "webapp" to deploy a web application on azure. Then use terratest to send http request.
Use terraform azure module "compute" to deploy one virtual machine on azure. Then use terratest to ssh to it and also send http request.