pulumi/tests
Pat Gavlin 5eb8cd36e8 [logging] Improve filter performance
These changes improve the throughput and reduce the allocation volume of
the filters used to redact config and credential secrets from logs and
property values by replacing the use of strings.Replacer with an
implementation based on the Aho-Corasick machine. In the common case
where a value does not contain any secrets, the former allocates a new
copy of the string while the former does not.

In several real-world tests, this reduces the CLI's overall allocation
volume by about 25%.
2023-05-25 12:56:15 -07:00
..
benchmarks/go-alias-norm all: cloudflare/circl 1.1.0 => 1.3.3 2023-05-11 13:51:01 -07:00
examples Rename "Smoke" test to "Acceptance" tests 2023-01-30 15:38:37 -05:00
integration Merge #12982 2023-05-23 16:44:06 +00:00
testdata Add per-language smoke tests to the integration tests 2023-05-06 09:23:19 +01:00
testprovider all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
.gitignore ci: Use reduced smoke testing on Windows & macOS targets 2022-09-21 09:55:06 -07:00
README.md Rename "Smoke" test to "Acceptance" tests 2023-01-30 15:38:37 -05:00
about_test.go test: fix regex used to test Go version output in about command. (#10499) 2022-08-29 11:53:03 -07:00
config_test.go filestate: Re-add project support 2023-03-31 13:21:36 -07:00
go.mod [logging] Improve filter performance 2023-05-25 12:56:15 -07:00
go.sum [logging] Improve filter performance 2023-05-25 12:56:15 -07:00
history_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
login_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
main_test.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
remote_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
roundtrip_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
smoke_test.go Fix up test loop variables 2023-05-10 20:16:24 +01:00
stack_test.go filestate: Re-add project support 2023-03-31 13:21:36 -07:00

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