Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestResource ¶
func TestResource(t *testing.T, resource ResourceTestCase)
IntegrationTest - creates resources using terraform, fetches them to db and compares with expected values
Types ¶
type ResourceTestCase ¶ added in v0.6.0
type ResourceTestCase struct {
Provider *provider.Provider
Table *schema.Table
Config string
SkipEmptyJsonB bool
// SkipEmptyColumn will skip checking results for empty columns
SkipEmptyColumn bool
// SkipEmptyRows will skip checking that results were returned and will just check that fetch worked
SkipEmptyRows bool
}
Click to show internal directories.
Click to hide internal directories.