Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestCase ¶
type TestCase struct { Name string Steps []TestStep TestHandler TestHandler }
type TestCheckFunc ¶
type TestCheckFunc func(model interface{}) error
func ComposeTestCheckFunc ¶
func ComposeTestCheckFunc(fs ...TestCheckFunc) TestCheckFunc
func TestCheckResourceAttr ¶
func TestCheckResourceAttr(key string, value interface{}) TestCheckFunc
type TestHandler ¶
type TestHandler interface { Create(req handler.Request) handler.ProgressEvent Read(req handler.Request) handler.ProgressEvent Update(req handler.Request) handler.ProgressEvent Delete(req handler.Request) handler.ProgressEvent List(req handler.Request) handler.ProgressEvent }
type TestStep ¶
type TestStep struct { Config string Check TestCheckFunc }
Click to show internal directories.
Click to hide internal directories.