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
#automation-api
Title
w
white-midnight-53747
12/15/2020, 10:24 AM
Hi all, any examples of writing unit tests (go) when using automation-api that you can share? Any special considerations or design patterns we should use to facilitate this best? Thanks.
l
lemon-agent-27707
12/15/2020, 5:45 PM
I don't know if you would necessarily call these unit tests, but you can take a look at the Go test suite for the SDK itself:
https://github.com/pulumi/pulumi/blob/master/sdk/go/x/auto/local_workspace_test.go
Those are really e2e tests. What sort of functionality are you trying to verify?
Post