Most automated tests written with Terratest consist of multiple “stages”, such as:
Often, while testing locally, you’ll want to re-run some subset of these stages over and over again: for example, you might want to repeatedly run the validation step while you work out the kinks. Having to run all of these stages each time you change a single line of code can be very slow.
This is where Terratest’s
test_structure package comes in handy: it allows you to explicitly break up your tests into
stages and to be able to disable any one of those stages simply by setting an environment variable. Check out the
for working sample code.
Your entire infrastructure. Defined as code. In about a day.Explore Gruntwork.io