https://pulumi.com logo
#python
Title
# python
c

crooked-pillow-11944

10/01/2021, 1:30 PM
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

red-match-15116

10/01/2021, 4:00 PM
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