Does anybody have any Python-based Pulumi stacks w...
# python
c
Does anybody have any Python-based Pulumi stacks with working tests? I want to be able to run unit and integration tests against my stacks. GitHub search came up empty 😞
r
We use these frameworks to test pulumi itself. So for automation-api driven tests, https://github.com/pulumi/pulumi/tree/master/sdk/python/lib/test/automation is helpful. For mocks, you can look at https://github.com/pulumi/pulumi/tree/master/sdk/python/lib/test_with_mocks And for integration tests there’s https://github.com/pulumi/pulumi/tree/master/tests/integration