Azure / terraform-azurerm-computegroup

Terraform Azure RM Compute Group Module
MIT License
10 stars 37 forks source link

Add Terratest for compute-group #18

Closed foreverXZC closed 6 years ago

foreverXZC commented 6 years ago

I added terratest to automatically test this module. It creates a compute group based on load balancer and check whether it is provisioned successfully. Also, golang is introduced, kitchen terraform is removed and docker image is updated to the newest version.

In addition, HTTP request is used to execute end to end test. Terratest makes an HTTP request to the public IP address and see whether it actually contains nginx and is available from public.

metacpp commented 6 years ago

Why it's deleted here?


Refers to: test/integration/fixtures/outputs.tf:4 in 83e38d4. [](commit_id = 83e38d46a13e9efde131fb6c5a033a56184d3d14, deletion_comment = True)

metacpp commented 6 years ago

LGTM for merge, but we need to create issue to do the refactoring.