Hello!!! I’m new to Pulumi. Is there a testing f...
# general
t
Hello!!! I’m new to Pulumi. Is there a testing facility for Dynamic providers?
w
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
Thanks @white-balloon-205!!