This message was deleted.
# general
s
This message was deleted.
f
Here’s an example of local backend in integration testing: https://github.com/pulumi/pulumi/blob/master/tests/integration/integration_test.go#L202
f
thanks for the hint @faint-table-42725
I found another way by setting
CloudURL:    "file://~"
in the ProgramTestOptions
Copy code
integration.ProgramTest(t, &integration.ProgramTestOptions{
		Quick:       false,
		SkipRefresh: true,
		Dir:         twd,
		CloudURL:    "file://~",
		Config: map[string]string{
			"azure:location": "westeurope",
		},
		ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
			fmt.Println("[ Pulumitest ] Provisioning complete")
		},
	})