pulumi/tests
Kyle Dixler 658021f5ff Add `pulumi state edit` utility.
Fixes #13088

Adds `pulumi state edit` an experimental utility for manually editing
pulumi stack state. The command mimics the `git commit` flow by opening
the stack's state in the text editor specified by the EDITOR environment
variable and then previews the file to be saved.

There are TODO comments detailing remaining steps to un-hide `pulumi
state edit`. Namely testing round-tripping unicode.
2023-07-17 09:47:05 -07:00
..
benchmarks/go-alias-norm deps(go): Upgrade to grpc 1.56.1 2023-07-06 09:04:16 -07:00
examples PR feedback 2023-07-06 20:40:23 -07:00
integration [tests] Add integration test for explicit providers for packaged components 2023-07-13 07:16:56 -07:00
testdata Make convert more lenient 2023-06-08 11:14:31 +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 Add `pulumi state edit` utility. 2023-07-17 09:47:05 -07:00
go.sum Add `pulumi state edit` utility. 2023-07-17 09:47:05 -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 Skip tests that are getting rate limited 2023-06-27 11:44:13 +02:00
stack_test.go `pulumi new -s 'org/project/stack'` checks the proper organization for project existence rather than backend.currentUser()'s org. 2023-07-03 09:28:52 -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