helper/resource: docs
This commit is contained in:
parent
21b0a03d70
commit
dc69603cd4
|
@ -34,7 +34,13 @@ type TestCase struct {
|
||||||
// acceptance tests, such as verifying that keys are setup.
|
// acceptance tests, such as verifying that keys are setup.
|
||||||
PreCheck func()
|
PreCheck func()
|
||||||
|
|
||||||
// Provider is the ResourceProvider that will be under test.
|
// Providers is the ResourceProvider that will be under test.
|
||||||
|
//
|
||||||
|
// Alternately, ProviderFactories can be specified for the providers
|
||||||
|
// that are valid. This takes priority over Providers.
|
||||||
|
//
|
||||||
|
// The end effect of each is the same: specifying the providers that
|
||||||
|
// are used within the tests.
|
||||||
Providers map[string]terraform.ResourceProvider
|
Providers map[string]terraform.ResourceProvider
|
||||||
ProviderFactories map[string]terraform.ResourceProviderFactory
|
ProviderFactories map[string]terraform.ResourceProviderFactory
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue