internal/testingiface: New testing.T equivalent interface and unit testing helpers #556
Annotations
10 errors and 1 warning
Run go test -v -coverprofile=coverage.out ./...:
helper/resource/testing_new.go#L30
cannot use t (variable of type "github.com/mitchellh/go-testing-interface".T) as testingiface.T value in argument to runProviderCommand: "github.com/mitchellh/go-testing-interface".T does not implement testingiface.T (missing method Setenv)
|
Run go test -v -coverprofile=coverage.out ./...:
helper/resource/testing_new.go#L70
cannot use t (variable of type "github.com/mitchellh/go-testing-interface".T) as testingiface.T value in argument to runProviderCommand: "github.com/mitchellh/go-testing-interface".T does not implement testingiface.T (missing method Setenv)
|
Run go test -v -coverprofile=coverage.out ./...:
helper/resource/testing_new.go#L119
cannot use t (variable of type "github.com/mitchellh/go-testing-interface".T) as testingiface.T value in argument to runProviderCommand: "github.com/mitchellh/go-testing-interface".T does not implement testingiface.T (missing method Setenv)
|
Run go test -v -coverprofile=coverage.out ./...:
helper/resource/testing_new.go#L271
cannot use t (variable of type "github.com/mitchellh/go-testing-interface".T) as testingiface.T value in argument to runProviderCommand: "github.com/mitchellh/go-testing-interface".T does not implement testingiface.T (missing method Setenv)
|
Run go test -v -coverprofile=coverage.out ./...:
helper/resource/testing_new.go#L585
cannot use t (variable of type "github.com/mitchellh/go-testing-interface".T) as testingiface.T value in argument to runProviderCommand: "github.com/mitchellh/go-testing-interface".T does not implement testingiface.T (missing method Setenv)
|
Run go test -v -coverprofile=coverage.out ./...:
helper/resource/testing_new_config.go#L105
cannot use t (variable of type "github.com/mitchellh/go-testing-interface".T) as testingiface.T value in argument to runProviderCommand: "github.com/mitchellh/go-testing-interface".T does not implement testingiface.T (missing method Setenv)
|
Run go test -v -coverprofile=coverage.out ./...:
helper/resource/testing_new_config.go#L124
cannot use t (variable of type "github.com/mitchellh/go-testing-interface".T) as testingiface.T value in argument to runProviderCommand: "github.com/mitchellh/go-testing-interface".T does not implement testingiface.T (missing method Setenv)
|
Run go test -v -coverprofile=coverage.out ./...:
helper/resource/testing_new_config.go#L133
cannot use t (variable of type "github.com/mitchellh/go-testing-interface".T) as testingiface.T value in argument to runPlanChecks: "github.com/mitchellh/go-testing-interface".T does not implement testingiface.T (missing method Setenv)
|
Run go test -v -coverprofile=coverage.out ./...:
helper/resource/testing_new_config.go#L153
cannot use t (variable of type "github.com/mitchellh/go-testing-interface".T) as testingiface.T value in argument to runProviderCommand: "github.com/mitchellh/go-testing-interface".T does not implement testingiface.T (missing method Setenv)
|
Run go test -v -coverprofile=coverage.out ./...:
helper/resource/testing_new_config.go#L161
cannot use t (variable of type "github.com/mitchellh/go-testing-interface".T) as testingiface.T value in argument to runProviderCommand: "github.com/mitchellh/go-testing-interface".T does not implement testingiface.T (missing method Setenv)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading