pulumi/tests/integration/aliases/aliases_dotnet_test.go
Lee Briggs 09c73c1c9b
add build tags to all integration tests (#5271)
* add build tags to all integration tests

* fix go sdk imports

* make transformation Dirs global
2020-09-02 09:11:15 -07:00

40 lines
819 B
Go

// Copyright 2016-2020, Pulumi Corporation. All rights reserved.
// +build dotnet all
package ints
import (
"path/filepath"
"testing"
"github.com/pulumi/pulumi/pkg/v2/testing/integration"
)
var dirs = []string{
"rename",
"adopt_into_component",
"rename_component_and_child",
"retype_component",
"rename_component",
}
func TestDotNetAliases(t *testing.T) {
for _, dir := range dirs {
d := filepath.Join("dotnet", dir)
t.Run(d, func(t *testing.T) {
integration.ProgramTest(t, &integration.ProgramTestOptions{
Dir: filepath.Join(d, "step1"),
Dependencies: []string{"Pulumi"},
Quick: true,
EditDirs: []integration.EditDir{
{
Dir: filepath.Join(d, "step2"),
Additive: true,
ExpectNoChanges: true,
},
},
})
})
}
}