Documentation ¶ Index ¶ func TestResource(t *testing.T, resource ResourceTestCase) type ResourceTestCase 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 Config string // we want it to be parallel by default NotParallel bool // ParallelFetchingLimit limits parallel resources fetch at a time ParallelFetchingLimit uint64 } Source Files ¶ View all Source files resource.go Click to show internal directories. Click to hide internal directories.