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