Channels
esc
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
policy-as-code
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
general
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
#getting-started
Title
# getting-started
a
ambitious-battery-86624
08/28/2021, 12:30 PM
What's the best way to test dynamic/custom resources?
g
great-sunset-355
08/28/2021, 5:07 PM
Integration tests IMO. Or are you looking for some mock?
a
ambitious-battery-86624
08/28/2021, 6:11 PM
I'm building a resource lib and wanted to test it automatically.
Right now I'm simply coding as I go, but I thought some tests would be nice, to make sure things aren't falling apart later
g
great-sunset-355
08/28/2021, 6:20 PM
For pulumi resources there isn't much more you can test than this (AFAIK)
https://www.pulumi.com/docs/guides/testing/
🙂 1
a
ambitious-battery-86624
08/28/2021, 6:55 PM
Okay, thanks!
3 Views
Post