https://pulumi.com logo
#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