sparse-intern-71089
04/10/2019, 11:53 AMbitter-oil-46081
04/10/2019, 6:29 PMgo test
to drive the lifecycle of a stack. You can see some examples here:
https://github.com/pulumi/pulumi-aws/blob/master/examples/examples_test.go
The core of the framework is here: https://github.com/pulumi/pulumi/blob/master/pkg/testing/integration/program.go#L417 and basically it handles running a bunch of invocations of pulumi
for a given program to create a stack, deploy it and then destroy it. There are hooks such that you can preform extra validation after the stack has been deployed (for example, hitting a HTTP endpoint it deploys to ensure it actually gives you the correct response)bitter-oil-46081
04/10/2019, 6:30 PMpulumi
behind the scenes, your infrastructure can be written in any language, but the test itself has to be written in golang and invoked with go test
bitter-oil-46081
04/10/2019, 6:34 PMstraight-jordan-23612
04/10/2019, 8:10 PMmodern-bear-85657
04/10/2019, 8:36 PM