Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
package-authoring
pulumi-ai
pulumi-cdk
pulumi-cloud
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by
Title
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
#python
Join Slack