Join Slack
Powered by
Hi all, any examples of writing unit tests (go) wh...
# automation-api
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?
Open in Slack
Previous
Next