Documentation
¶
Overview ¶
Package providertest contains reusable provider conformance checks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunLifecycle ¶
func RunLifecycle(t *testing.T, tc LifecycleCase) sandbox.Prepared
RunLifecycle exercises the common prepare, sync-to, sync-from, destroy lifecycle.
Types ¶
type LifecycleCase ¶
type LifecycleCase struct {
Provider sandbox.Provider
Backend sandbox.Backend
PrepareRequest sandbox.PrepareRequest
AssertPrepared func(*testing.T, sandbox.Prepared)
AssertFinalState func(*testing.T, sandbox.SessionState)
}
LifecycleCase configures the shared Provider lifecycle compliance suite.
Click to show internal directories.
Click to hide internal directories.