mirror of https://github.com/pulumi/pulumi.git
f7ad50317f
12197: deps: Upgrade to pgregory.net/rapid v0.5 r=abhinav a=abhinav The 0.5 release of rapid exposes a generics-based API instead of `interface{}` and casting everywhere. This makes for much cleaner usage. There are a handful of cases where strongly typed generators, e.g. `Generator[bool]`, need to be turned into `interface{}` (`any`), which is doable with `AsAny()`. API changes: The only non-test changes to the SDK package are in go/common/resource/testing, which contains testing utiltiies. Functions that previously returned the old, untyped `Generator` now return a strongly typed `Generator[T]`. Co-authored-by: Abhinav Gupta <abhinav@pulumi.com> |
||
---|---|---|
.. | ||
benchmarks/go-alias-norm | ||
examples | ||
integration | ||
testprovider | ||
.gitignore | ||
README.md | ||
about_test.go | ||
config_test.go | ||
go.mod | ||
go.sum | ||
history_test.go | ||
login_test.go | ||
main_test.go | ||
remote_test.go | ||
roundtrip_test.go | ||
stack_test.go |
README.md
Integration Tests
This module provides integration tests for the Pulumi CLI.
The tests can be run via:
make test_all
Usage of Go build tags
In order to speed up integration tests in GitHub actions, Go build tags are used to conditionally compile the desired test cases.
// integration_nodejs_test.go
//go:build (nodejs || all) && !xplatform-acceptance
// integration_nodejs_acceptance_test.go
//go:build nodejs || all