Documentation
¶
Overview ¶
package atf or acceptance-test-framework consists of helper files to parse, validate and run acceptance test with vmaas specified terraform acceptance test case format
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProviderStanza ¶ added in v0.1.27
Types ¶
type Acc ¶
type Acc struct { PreCheck func(t *testing.T) Providers map[string]*schema.Provider GetAPI GetAPIFunc ResourceName string Version string }
func (*Acc) RunDataSourceTests ¶
RunDataSourceTests to run data source plan only test case. This will take first config from specific data source
func (*Acc) RunResourcePlanTest ¶
RunResourcePlanTest to run resource plan only test case. This will take first config from specific resource
func (*Acc) RunResourceTests ¶
RunResourceTests creates test cases and run tests which includes create/update/delete/read
type GetAPIFunc ¶
GetAPIFunc accepts terraform states attribures as params and expects response and error as return values
Click to show internal directories.
Click to hide internal directories.