https://pulumi.com logo
#general
Title
# general
t

tall-stone-8237

02/24/2020, 9:08 PM
Hello!!! I’m new to Pulumi. Is there a testing facility for Dynamic providers?
w

white-balloon-205

02/24/2020, 9:22 PM
There's not dedicated testing just for Dynamic providers, but you can write general Pulumi tests that exercise various life-cycles for dynamic providers and any other resources using either an approach like https://www.pulumi.com/blog/unit-testing-infrastructure-in-nodejs-and-mocha/, using Policy as Code https://www.pulumi.com/docs/get-started/crossguard/#get-started-with-policy-as-code, or via integration tests using something like https://github.com/pulumi/pulumi-aws/blob/master/examples/examples_test.go#L62. We're also working on a lot more content on testing strategies for Pulumi over the coming weeks!
t

tall-stone-8237

02/25/2020, 5:59 PM
Thanks @white-balloon-205!!