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
v
victorious-helmet-11068
03/20/2020, 2:38 PM
Hi all. I would like to run test (unit test) or functional ones. I don’t find a lot of articles on that. May you suggest me something?
b
bright-orange-69401
03/20/2020, 3:41 PM
My team did it in a project so maybe it can serve as a reference:
https://github.com/nuage-studio/pulumi-snowflake/blob/master/test/database/database_provider_tests.py
We resorted to heavy mocking in order to avoid the actual provisioning (unit tests)
w
white-balloon-205
03/20/2020, 5:32 PM
cc
@tall-librarian-49374
who is working on some content around testing for Pulumi programs across all langauges and across unit, functional and integration testing.
t
tall-librarian-49374
03/20/2020, 6:18 PM
Examples are added in this pr
https://github.com/pulumi/examples/pull/608
👍 1
2 Views
#python
Join Slack